[FEATURE]: Support hovering all overlapping points
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 12/100
- Issue-Typ
- Feature
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- javascript
- Bereich
- data-visualization, frontend
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- JavaScript
- Sterne
- 18.4k
- Forks
- 2.1k
- Ø Merge
- 1 T. 5 Std.
- Gemergte PRs (30 T.)
- 12
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus plotly/plotly.js
-
[BUG]: `sankey`: `node.x` / `node.y` of `0` is ignoredEvtl. vergeben @adimalkar hat das vor 4 Tagen übernommen. Offenbug P3 size: 1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
plotly/plotly.js#8150 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
[BUG]: `scatterpolargl` drops points between 10000 and 100000 pointsEvtl. vergeben @Tanishdete333 hat das vor 3 Tagen übernommen. Offenbug P3 size: 1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
plotly/plotly.js#8148 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
[BUG]: findEmpties throws "iterated with no new neighbors" for large NaN regions in contour (double-precision underflow)Evtl. vergeben @davrens101 hat das vor 3 Tagen übernommen. Offenbug P3 size: 3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
plotly/plotly.js#8108 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
chore P3 plotly-internal size: 3 task
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
plotly/plotly.js#8064 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
chore P1 plotly-internal size: 1 task
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in plotly/plotly.js
Ähnliche Issues
-
clientV2: Application Info header separators show as missing-character boxes without a CJK fontOffenbug new-client
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
NUWCDIVNPT/stig-manager#2285 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
Fei2411/DeepSeek-Bot#922 · 1 Reaktion ·
-
server errored
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
OpenTermsArchive/contrib-declarations#4273 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-area-label
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 2 Tagen
-
serienstream.toOffenN: AdGuard for Windows P2: High T: Annoyance
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 61/100
AdguardTeam/AdguardFilters#246310 ·
Maintainer antworten meist innerhalb von 1 Tag