Hey, all!
I have a graph with 1 xaxis (timestamp) and 3 yaxis (power DB, Distance, Altitude).
Distancce and Altitude have one scatter plot each, and power DB has about 100 scatter plots.
So i cannot use hoverdata because it is messy and provide not usefull information.
I would like to capture mouse position according to all axis and provide popup with all 4 dimensions coordinates in real time.
To be more presice: i dont want to get this info from scatter plots points. i just need it according to layou, even if it is empty.
I’ve been trying to search for solution for last 2 days. And cannot find one.
Seems this should be able through some clientside callback.
Would appreciate some help!
thank you for your reply!
ive seen that. it works fine on simple example. but for my purpose it seems not to be working well:
should i create 3 invisible scatters fully filled with points for every axis? what about timestamp?
also consider i have about 100 traces on my graph with many thousands points of real data. and it already is a bit slow.
Could you please post an example of the chart that you are wanting to know? If might be possible to add an event listener that can give you back the coordinates.
You need to alter your data accordingly, and this I believe will only work on a graph with just one subplot, multiple subplots would be a lot harder.
You can take the data and use it to display some hoverdata at that specific point. Probably be easier to add an element at that point then try to do it through Dash and the plotly chart.