Set scatter chart marker size using coordinates
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ả
I'd like to set the marker size in scatter charts using coordinates.
My suggestion to implement this would be to add x0, x1, y0, and y1 attributes for scatter chart points, if these attributes are set the marker would scale to fit inside those coordinates. When setting the size using coordinates, the existing marker size attribute could be used as a minimum size.
The purpose of this is to be able to have points which represent a range of data instead of just a singular coordinate. A range of values across only one axis should also be supported.
The existing layout shapes aren't fit for our purpose because they can't be interacted with, and are quite slow for large datasets.
Here is an example of the type of data I would like to present (made using the existing shapes)
There have been related requests for absolute marker sizes already https://github.com/plotly/plotly.js/issues/3682
And similar requests in plotly.py https://github.com/plotly/plotly.py/issues/3535
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
Bắt đầu bằng cách xem xét triển khai scatter-chart và các yêu cầu liên quan trong các issue 3682 và plotly.py 3535, sau đó so sánh ví dụ CodePen với cách tiếp cận hiện tại dựa trên shape. Done cần hỗ trợ các phạm vi x0, x1, y0 và y1, bao gồm cả các phạm vi trên một trục, đồng thời giữ kích thước marker làm mức tối thiểu và duy trì khả năng tương tác đối với các tập dữ liệu lớn.
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
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- 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
- 28/100