Thanks for posting and raising this here! That's a good catch! We did make changes and our line chart no longer dynamically adjusts the Y-Axis range based on the data values. The Y-Axis will now always begin at 0 by default.
It's only possible to change the Y-Min and Y-Max values by editing the widget from the UI. It's not possible to dynamically set those values via the API.
We made these changes and also don't allow setting Y-Min and Max via the API for the following reasons:
We believe it's a bad practice in most use cases to have the Y-Axis not begin at 0 as it exaggerates trends. For example, if the Y-Axis is set from 100,000 - 103,000, then relatively small fluctuations will result in big changes in the graph.
Having a Y-Axis that dynamically changes every time the data changes also makes it harder to spot trends and identify whether something has gone wrong. To explain with an example again, when the line dips towards the bottom of the graph — it's then difficult to quickly understand whether the trend is getting really low or if it's just a small dip? You'd need to physically walk over to the graph and read the axis to find out. As our goal is provide dashboards that can be quickly and easily consumed from wall-mounted TV screens, we want to avoid that.
Dynamically changing the Y-Axis scale is a bit risky as it can lead to trends being missed. For example, if the data dips but as the Y-Axis gets adjusted as well, the downward trend would be displayed with a more flatter line than it if the axis remained the same, and that could be misleading.
I hope this makes sense Yan. Do let me know if you have any further questions about this.
I've also shared your suggestion with our team. We'll keep a close eye on any similar requests. I really appreciate that you took the time to share it with us.