Is is possilble to get mouse/click position?

Hi @vovawed you could indeed draw a line or a rectangle on the graph, using one of the drawing dragmodes introduced with plotly 4.7 and write a callback which would compute the length of the line, as in this post.

1 Like