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
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
@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?
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?
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 :)
Activity
antoinerg commentedon Mar 18, 2020
@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?
antoinerg commentedon Mar 18, 2020
Never mind: mock
24is a good example of the problem at hand.antoinerg commentedon Mar 19, 2020
@nicolaskruchten here's a simple (perhaps the simplest) solution that prevents drawing spike lines if no points are hovered on: 7c036ab .
cc @alexcjohnson
nicolaskruchten commentedon Mar 19, 2020
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?
antoinerg commentedon Mar 19, 2020
Sure! Let's decide on a name for that attribute at the meeting tomorrow :)
nicolaskruchten commentedon Mar 19, 2020
Conclusion:
hovered dataas a possible value for the existingspikesnapattribute :)