[FEATURE]: Support hovering all overlapping points
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- data-visualization, frontend
Hướng nghiên cứu
The issue names no source files, tests or entry points, so start by reading the earlier threads it links (plotly.js #720, #4294, #7578, #7663) to see what was already decided about hover. It is a proposal with no agreed UI, so the first step is a design discussion with maintainers. Done means an agreed interaction and a scoped implementation plan.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
This is more like a proposal aimed at integrating and refining a long-standing feature request regarding hover behavior at overlapping points.
When multiple points overlap at the same position, Plotly currently selects a single winning point for hover. This means the hover information of the other overlapping points is inaccessible.
It would be useful to support hovering all overlapping points, either by displaying multiple hover labels or by grouping them into a single tooltip.
For cases with many overlapping points, a compact grouped tooltip that can be pinned and expanded could also be useful. For example, TanStack Charts demonstrates a pattern where the tooltip stays compact on hover and expands to show richer content when pinned. Similar hover pinning behavior has also been requested in Plotly.js (#7578, #7663):
https://tanstack.com/charts/catalog/charts/84-pinned-nested-chart-tooltip
The exact UI does not necessarily need to follow this pattern. A similar interaction may already be possible by pre-grouping overlapping data (as long as the other overlapped records can be retrieved from the current hover winner), but native support could make it easier to implement.
Related discussions
This has come up several times over the years:
Plotly Community
- https://community.plotly.com/t/how-to-show-overlap-points-in-scatter-plot/24148
- https://community.plotly.com/t/hover-information-for-overlapping-or-identical-data-points/39526
- https://community.plotly.com/t/overlapping-points-hover/56222
- https://community.plotly.com/t/scatter-with-many-points-at-same-coordinates/74924
Previous issues
- Ngôn ngữ chính
- JavaScript
- Star
- 18.4k
- Fork
- 2.1k
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc 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.
Issue khác của plotly/plotly.js
-
[BUG]: `sankey`: `node.x` / `node.y` of `0` is ignoredCó thể đã có người làm @adimalkar đã nhận 1 ngày trước. Đang mởbug P3 size: 1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
plotly/plotly.js#8150 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[BUG]: `scatterpolargl` drops points between 10000 and 100000 pointsCó thể đã có người làm @Tanishdete333 đã nhận 1 ngày trước. Đang mởbug P3 size: 1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
plotly/plotly.js#8148 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[BUG]: findEmpties throws "iterated with no new neighbors" for large NaN regions in contour (double-precision underflow)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug P3 size: 3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
plotly/plotly.js#8108 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
chore P3 plotly-internal size: 3 task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
plotly/plotly.js#8064 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
chore P1 plotly-internal size: 1 task
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của plotly/plotly.js
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
microsoft/playwright#43875 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Run the dependency drift checkCó thể đã có người làm @spaceninja đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
cloudfour/stylelint-config-cloudfour#683 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Documentation Enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
JSPrismarine/JSPrismarine#2706 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PostHog/posthog-js#5524 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 66/100
AlphaaCode/Popbook#10 ·