Implement `hoveron: 'fills'` for scattergl and scatterpolargl
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 18.3k
- Fork
- 2k
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 28
Mô tả
During a discussion in the plotly.py forums in came up that the hoverlabel for the scatterpolar trace has a different behavior when the fill state is set to toself than when it's set to none.
CodePen: https://codepen.io/anon/pen/EpOGdX
fill: 'none' for scatterpolar

fill: 'toself' for scatterpolar

It also seems that the hoverinfo propery has no effect when fill is toself.
I did the same comparison with the scatterpolargl trace and it has the behavior that I expected:
fill: 'toself; for scatterpolargl

I don't know if this is a bug in scatterpolar or scatterpolargl, but I find the current scatterpolargl behavior (The behavior consistent with fill of none) to be more helpful.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện CodePen được liên kết và so sánh hành vi hover của scatterpolar, scattergl và scatterpolargl khi fill được đặt thành none và toself. Bắt đầu bằng cách lần theo việc xử lý hover cho các loại trace này; hoàn tất có nghĩa là hành vi của hoverlabel và hoverinfo nhất quán với hành vi fill dự kiến, đồng thời đã bổ sung kiểm thử hồi quy ở những nơi cấu trúc test hiện có cho phép.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- data-visualization
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100