Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Enable only Square selection Zoom on the graph

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,