As part of netdata (http://my-netdata.io), I am trying to have 2 or more charts show the same y-range.
I know of synchronizer.js, but it cannot help me.
In netdata charts auto-update every second. What I need is a way to set the y-range, using the widest min-max among all the charts. That is, the minimum y of all charts, to the maximum y of all charts.
I implemented it using g.axes_.extremeRange and a duplicate call to updateOptions() if the chart is cropped, but I understand g.axes_ is a private API.
So, is there any other way?
PS: Ideally, I would need a flag that will state that valueRange should never crop the chart, i.e that valueRange should be used as the smallest visible range, so that if the chart is found extending beyond valueRange, the chart should scale to have it all visible.