is it possible to show only a specific marker on a trace? I have disabled the annotations on hover. (
If I hover about the plot, I want to show markers for the currently hovered x-value. I have created a jsFiddle-Example for that. With the
plotly_hover-Event I get the Points related to the x-value. But how I can say plotly, that it should show a single marker for each y-point of this.
The same for
plotly_unhover-Event: How can I hide the marker If I leave the associated x-value with my cursor.
Desired Behaviour in the example: If I hover with the cursor in the area of the x=2 value, I want that plotly shows a marker for the 50 and 4 of the both lines “data1” and “data”. In contrast on hover x=1 value, it should only show the marker for the “data1” trace on 40.