plotly.js
plotly.js copied to clipboard
visible: 'legendonly' removes plot from hover event data
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.