Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

How to get predefined yaxis range after zoom out?

$
0
0

@mike4dash wrote:

When I create a dcc.graph with a fix yaxis range defined in the layout:


‘layout’: go.Layout(title=‘Graph’, xaxis=dict(title=“Time”), yaxis=dict(… , range=[0, 100], …),

This works fine.

But after a zoomout event (doubleclick in the chart) the yaxis is autoscaled by the given data range. Is there a way to turn the autoscaling on zoomout off? Or exists any other way to solve this problem?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles