-
-
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/hover congruence #4657
Comments
@nicolaskruchten I am aware that this behavior can happen at the moment and I can reproduce it. Do you by any chance have an example where this is particularly egregious? |
Never mind: mock |
@nicolaskruchten here's a simple (perhaps the simplest) solution that prevents drawing spike lines if no points are hovered on: 7c036ab . |
Hehe yes indeed. Could we make that an attribute that is coerced to true in unified hovermode? that way it can be turned off in unified mode and also optionally turned on it compare mode? |
Sure! Let's decide on a name for that attribute at the meeting tomorrow :) |
Conclusion: |
It should be possible to configure things (and in unified hover mode this should be the default coerced configuration) such that whenever a hoverlabel appears, a spikeline appears and vice-versa: you should not see a spikeline without a hoverlabel.
This should hold true for mixes of bars and scatters, and work with #4656
The text was updated successfully, but these errors were encountered: