plotly / plotly/plotly.js

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

Aperta
#7,184 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@emilykl ci sta già lavorando.

Dal 2/10/2024.

bug P3
Lingua principale
JavaScript
Stelle
18.3k
Fork
2k
Merge medio
2g 12h
PR unite (30g)
28

Descrizione

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!

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.