Enable only Square selection Zoom on the graph

Hi,
I would like to enable only square selection on the graph, I dont want the user to select range selection like left to right or top to bottom I it possible?

We don’t expose that option at the moment.

If you really want to restrict selections to squares, you could always fork the plotly.js repo, modify this constant and build your own personal plotly.js.

Hi @etienne, If I am doing it I will contribute to the repo. (y)
Thank you once again,