Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

x hover label hidden when using `hoversubplots='axis'` and `hovermode='x'`

Offen
#7,184 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@emilykl arbeitet bereits daran.

Seit 02.10.2024.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

bug P3

Hi,
When the hovermode is set to 'x' and the hoversubplots='axis' option is used, the x label can be hidden by the labels of other subplots. This issue can also be found in the plotly python documentation, as shown below:
plotly_doc In this CodePen, the problem arise when hovering the first point of the first subplot or the last point on the middle subplot.

I believe it would make more sense to stick the x label at the bottom subplot, regardless of which subplot is hovered over, especially when the spike line is enabled. I implemented this, and here is what it looks like in my use case:
Solution

Please let me know what you think.

Thanks!

Vorherrschende Sprache
JavaScript
Sterne
18.3k
Forks
2k
Ø Merge
2 T. 10 Std.
Gemergte PRs (30 T.)
30

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus plotly/plotly.js

Alle Issues in plotly/plotly.js

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

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