-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spike position in unified hover mode #4716
Comments
Is this really a bug? |
If there's a hover label, the spikeline should get its position from something within that label. In this case the bar is setting the spikeline position, but only the scatter point is in the hover label. |
Definitely a bug, because it doesn't happen if the cursor or point is above the bar rather than within it. |
Compare hovering over the scatter points within the two bars' ranges here: https://codepen.io/nicolaskruchten/pen/abZrYJO?editors=0010 |
Note that the behaviour in |
Can I see a pen with just this PR please so I can approve this one's behaviour separately from the other one? (it was nice to see them together as well, but now I'd like to see just this one broken out please :) |
Here is a before vs after codepen. |
✨ for the behaviour! just need a dancer from @alexcjohnson and then we can tackle #5292 on its own |
#5542 is merged. |
https://codepen.io/emmanuelle-plotly/pen/eYNxQba?editable=true (hover on the scatter point at x=0, the spike line stays at the middle of the bar)

The text was updated successfully, but these errors were encountered: