[FEATURE]: Support hovering all overlapping points
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 12/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 活躍
- 技術堆疊
- javascript
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- JavaScript
- 星號
- 18.4k
- 分支
- 2.1k
- 平均合併
- 1 天 5 小時
- 30 天內合併 PR
- 12
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
plotly/plotly.js 的其他 Issue
-
[BUG]: `sankey`: `node.x` / `node.y` of `0` is ignored可能已有人在做 @adimalkar 於 1 天前認領。 未關閉bug P3 size: 1
難度 2/5 1-3 小時 新手友好度 75/100
plotly/plotly.js#8150 · 1 則留言 ·
維護者通常 2 天內回覆
-
[BUG]: `scatterpolargl` drops points between 10000 and 100000 points可能已有人在做 @Tanishdete333 於 1 天前認領。 未關閉bug P3 size: 1
難度 2/5 1-3 小時 新手友好度 82/100
plotly/plotly.js#8148 · 1 則留言 ·
維護者通常 2 天內回覆
-
[BUG]: findEmpties throws "iterated with no new neighbors" for large NaN regions in contour (double-precision underflow)可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug P3 size: 3
難度 2/5 1-3 小時 新手友好度 86/100
plotly/plotly.js#8108 · 4 則留言 ·
維護者通常 2 天內回覆
-
chore P3 plotly-internal size: 3 task
難度 2/5 1-3 小時 新手友好度 77/100
plotly/plotly.js#8064 · 1 則留言 ·
維護者通常 2 天內回覆
-
chore P1 plotly-internal size: 1 task
難度 1/5 1 小時以內 新手友好度 82/100
維護者通常 2 天內回覆
相似的 Issue
-
needs-triage
難度 2/5 1-3 小時 新手友好度 66/100
microsoft/playwright#43875 · 1 則留言 ·
維護者通常 1 天內回覆
-
Run the dependency drift check可能已有人在做 @spaceninja 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 82/100
cloudfour/stylelint-config-cloudfour#683 ·
維護者通常 1 天內回覆
-
Documentation Enhancement
難度 2/5 1-3 小時 新手友好度 72/100
JSPrismarine/JSPrismarine#2706 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
PostHog/posthog-js#5524 ·
維護者通常 2 天內回覆
-
enhancement good first issue help wanted
難度 2/5 半天 新手友好度 66/100
AlphaaCode/Popbook#10 ·