Graph with zoomed in on page load in 2d graph


How can I load a graph with initial zoom in 2d graph?


Hi @kjun0306 ,

Welcome to the community!

You can set xaxis range and yaxis range manually to set initial zoomed graph.

Here is an example from official docs :

Setting The Range of Axes Manually

Hope this help.

1 Like

Thank you, @farispriadi. I was able to load the page with zoomed in but double clicking to zoom out doesn’t work. Any idea?

Hi @kjun0306 ,

I face same problem actually, So I tried several double click but with faster interval, the zoom out magically works in my system. :grin: