plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

visible: 'legendonly' removes plot from hover event data

Open ttmms opened this issue 4 years ago • 0 comments

I have multiple plots in one figure, and I want to toggle their visibility. But when I set legendonly, it removes the item completely from hover event data, and I cannot keep track of my plots anymore using their index. How can I preserve the hover event data for hidden plots? I need the hover event data for a custom legend component.

ttmms avatar May 12 '21 07:05 ttmms