# Synchronising Y axis autoscale on 2 chart nodes

**URL:** <https://discourse.nodered.org/t/synchronising-y-axis-autoscale-on-2-chart-nodes/84771>\
**Category:** Dashboard\
**Created:** [21 January 2024 10:56 UTC](https://discourse.nodered.org/t/synchronising-y-axis-autoscale-on-2-chart-nodes/84771 "2024-01-21T10:56:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [21 January 2024 13:06 UTC](https://discourse.nodered.org/t/synchronising-y-axis-autoscale-on-2-chart-nodes/84771/2 "2024-01-21T13:06:48Z")

</div>

Here's an example of suggested min max  
For chart. It takes to send same information for both charts but as it will be overwritten whenever min or max will go over boundaries you should figure out some logic to update chart configs when needed.

> [@Chart Node Auto-Scaling](https://discourse.nodered.org/t/chart-node-auto-scaling/84450):
>
> By default the chart will auto-scale on the Y axis. Or I can specify axes values with msg.ui\_control = { "ymax": (scale\_max), "ymin": (scale\_min), "stepSize": '0.5' }; I'm trying to prevent a chart Y axis being too 'short'. Ideally there would be a 'minimum range' value for the Y axis, but absent being able to set that I need to ensure that ymax less ymin is not less than say, 10. I have a function node to do this, but I'd like to be able to revert. to auto-scaling with the logic If maximu…

---

_[View the full topic](https://discourse.nodered.org/t/synchronising-y-axis-autoscale-on-2-chart-nodes/84771)._
