Non linear chart y-axis scale division

Hi All!,
i've to set scale of y-axis between 8 to 18,
But y-axis scale division are not appropriate.
As below image,2 point division expected i.e. 8,10,12,14,16,18 but graph showing strange divisions like 8,10,12.5,15,17.5,18
Any workaround (or hack using ui_control !) to set y-axis scale division as per required.
Thanks in advance!

node-red 2.2.2
node-red-dashboard 3.1.6

The algorithm used to determine the divisions does is not as clever as it might be. Though it is a surprisingly difficult in the general case. it works much better with zero based values, for example 0 to 20 works well for your data (though it does waste space obviously. I am sure contributions to improve the algorithm would be welcome.

1 Like

Thanks @Colin !
will take it into consideration.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.