Hover the blank(empty) spots

Hello,
i want to get the x value everywhere i hover.If i hover on a blank spot, i want to get the x value and then get all y values for this x point. Is it possible?
Example:

@Stunkata I don´t think that is possible with plotly. Even in dash the hoverData is only triggered, if hovering over an actual data point.

The only idea I had a while back to achieve something similar can be found here:

1 Like

I created an example on CodePen, which is quite similar to what you desired. See here:

Cursor is always visible. Tooltip is only shown for data points, as this seems not possible like @AIMPED explained. But for charts with lot of datapoints (like you showed in your screenshot), a tooltip will be visible for almost all cursor movement.

Does this help?

Best Regards,
Martin

1 Like