Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upShowing spikelines on Fx.hover and Fx.loneHover? #2517
Comments
lnunno
changed the title
Showing spikelines on Fx.hover?
Showing spikelines on Fx.hover and Fx.loneHover?
Apr 3, 2018
This comment has been minimized.
This comment has been minimized.
This is my latest codepen that tries to use synchronized hover lines with a datetime x axis and getting Fx.hover warnings that hover failed. It seems to expect the values to be numeric or fails to retrieve them given the datetime string, I've also tried time in milliseconds since the epoch but with no success. |
alexcjohnson
added
the
type: bug
label
Apr 4, 2018
This comment has been minimized.
This comment has been minimized.
Yes, I agree that that should be the behavior. Seems like a bug that this isn't what happens.
I'll have to look at this one in more detail, but in principle it should work using the date string. milliseconds are problematic and discouraged. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'm primarily using scattergl, so it may be an acceptable workaround for me to know how to retrieve the x, y points without an event handle so that I can use |
This comment has been minimized.
This comment has been minimized.
bfeist
commented
Sep 12, 2018
Hi there. Any word on this? I'd love for my triggered hover labels to look the same as mouse rollover. |
lnunno commentedApr 3, 2018
I've made a codepen as an example. I would like the behavior to be that the effect of Fx.hover is the same as hovering over a single point manually, the spikelines are shown.
I would also like this behavior for scattergl plots, I had posted an issue in react-plotly.js, but maybe here is a more appropriate place, I have not seen of a way to resolve data's x, y pixel values without a mouse event, but the only solution in this plotly forum thread was to have a mouse event is it possible to do this another way?