dash-core-components icon indicating copy to clipboard operation
dash-core-components copied to clipboard

Making one of the data sets invisible to the mouse

Open simonverret opened this issue 7 years ago • 5 comments

I have a 3D graph showing two data sets; let’s call them ‘trace 0’ and ‘trace 1’. I would like to access the clickData of 'trace 0' only. The problem is that ‘trace 1’ displays so many points that the mouse always capture them instead. I would need to set ‘trace 1’ invisible to the mouse.

Of course, it is possible to filter these events in the callback, but the mouse stills capture 'trace 1' points, making it hard to pinpoint the 'trace 0' points with the mouse, especially in the 3D case.

simonverret avatar Nov 05 '18 02:11 simonverret

Hi @simonverret, this sounds like a question for the forums: https://community.plot.ly/c/dash I'm closing this for now as it is not clear if this an issue.

valentijnnieman avatar Nov 28 '18 21:11 valentijnnieman

Hi @valentijnnieman, this issue was created following the suggestion of @chriddyp in his answer to my question on the forum: https://community.plot.ly/t/how-to-put-data-in-the-background-one-trace-clickable-not-the-others/15278

simonverret avatar Nov 28 '18 21:11 simonverret

Ah I was too rigorous! I'll reopen this - sorry about that.

valentijnnieman avatar Nov 29 '18 14:11 valentijnnieman

Is this possible today?

kidoman avatar Dec 08 '21 08:12 kidoman

Is there any workaround for this with the newest version of Plotly?

mikekryjak avatar Feb 04 '23 10:02 mikekryjak