You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 :)
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 :)
Activity
archmoj commentedon Mar 9, 2021
Is this really a bug?
alexcjohnson commentedon Mar 9, 2021
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.
nicolaskruchten commentedon Mar 9, 2021
Definitely a bug, because it doesn't happen if the cursor or point is above the bar rather than within it.
nicolaskruchten commentedon Mar 9, 2021
Compare hovering over the scatter points within the two bars' ranges here: https://codepen.io/nicolaskruchten/pen/abZrYJO?editors=0010
nicolaskruchten commentedon Mar 9, 2021
Note that the behaviour in
hovermode: "x"withxaxis.showspikes: trueis also pretty bad: https://codepen.io/nicolaskruchten/pen/yLVQXYy?editors=0010nicolaskruchten commentedon Mar 12, 2021
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 :)
archmoj commentedon Mar 15, 2021
Here is a before vs after codepen.
nicolaskruchten commentedon Mar 15, 2021
✨ for the behaviour! just need a dancer from @alexcjohnson and then we can tackle #5292 on its own
archmoj commentedon Mar 16, 2021
#5542 is merged.
@nicolaskruchten you may close this.