Is there a parameter in Plotly.js to autoscale the axes to fit the plotted data automatically?
Scenario: I'm plotting temperature(y-axis) vs. time(x-axis) over the latest 30 minutes.
Problem: When the page loads, the graph shows nothing. I would fix the axes, but the x-axis needs to show latest 30 minutes and update every minute. However, when I click 'Autoscale' or 'Reset Axes', the graph fits the data perfectly!
Question: Can I set the plot to automatically "Autoscale" when the page loads, rather than requiring a user to click 'autoscale'?
See app here: https://vast-fortress-23871.herokuapp.com/