Black Lives Matter. Please consider donating to Black Girls Code today.

Max/Min for Zoom

Hello guys!
Someone know if there’s a way to set a min and max zoom?
If not, is possible to ask for this feature in the next release?

Could you elaborate?

You’re referring to 2D cartesian axes, correct?

You would like to specify max and min layout.xaxis.range arrays ?

Yes! Sorry, in a 2D cartesian axes. A way to set a max xaxis and a min xaxis.
I have a time line on the x i want to prevent a infinite zoom!

Thank you!


It won’t be part of the next release. But yeah, we should think about adding this feature.

1 Like

Has this feature been added? It would be cool if we can define a min and max zoomScale for the graph

1 Like