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

Get mouse data coordinate on click

Open Pierre-Bartet opened this issue 4 years ago • 2 comments

The "plotly_click" is only fired when clicking on data point, how to obtain the same information when clicking on an empty part of the plot ? It seems that people have tried this for years, but all the solutions I have found are just completely broken.

EDIT: I'd like to add that with typedarray support + scattergl plot, plotly is one of the best plotting library, but without the ability to correctly turn mouse coodinates into data coordinates, it is just impossible to use for any real life usage.

Pierre-Bartet avatar Mar 17 '20 11:03 Pierre-Bartet

Hi @Pierre-Bartet , have you found a solution for this issue?

hminle avatar Sep 19 '22 13:09 hminle

It was a long time ago but unfortunately I don't think so.

Pierre-Bartet avatar Sep 19 '22 14:09 Pierre-Bartet