I have a 3D graph showing two data sets; let’s call them ‘trace 0’ and ‘trace 1’. I would like to record a click event on this graph that would always return the closest point from ‘trace 0’, and ‘trace 0’ only. The problem is that ‘trace 1’ contains much more points, so the mouse always capture them instead. Is it possible to set ‘trace 1’ invisible to mouse clicks?
It isn’t, but that’s an excellent idea. Would you mind making an issue about this in the
dash-core-components repository? http://github.com/plotly/dash-core-components/issues/new. For now, you can just filter out the click data in your callback and not respond to those events.
Thanks for your answer. It is now issue 363