plotly / plotly/plotly.R

Add opacity (transparency) to hover box / Allow it to be outside the plot

Offen
#1,828 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

plotly.js
Vorherrschende Sprache
R
Sterne
2.7k
Forks
641
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Plotly hover box has no transparency to it, which causes it to cover other data points, compromising the visual analysis of the data. Example:
image

Ideally it would allow box transparency like these one from dygraphs, which displays the hover text but does not cover/hide the region beneath it (http://dygraphs.com/tests/legend-values.html)
image

Additionaly, it could be great to have the possibility to show the tooltip/hover box information outside the plot, again to not cover any part of the plot and enable clear visual inspection. Another example from dygraphs:
image

Highcharts and dygraphs have those options as default.

There is some related discussion/request here: https://community.plotly.com/t/custom-hovertext-obstructs-plot-view-opacity-bottom-of-plot/9065

Changes like these would allow Plotly to be an excellent tool for financial plots and to be adopted by many more analysts from finance field.

Plotly is the best graphing tool in my opinion and I would like to stick to it, so I really appreciate if you can consider this request. Thank you for the awesome work.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, die hover-box-Implementierung des Repositorys zu finden und die verlinkte Community-Diskussion zu prüfen; vergleiche dann das angeforderte Transparenzverhalten und das Verhalten außerhalb des Plots mit den dygraphs-Beispielen. Fertig ist es, wenn beide Optionen für die Hover-Darstellung funktionieren, ohne die dargestellten Daten zu verdecken.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, r
Bereich
data-visualization, frontend
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.