Msg ui property Y axis scale

#1

It is possible to decide the scale of Y-axis in a chart, e.g. line chart?

Maybe sending some msg.ui_property messages?

Thanks

0 Likes

#2

yes as described in the docs

0 Likes

#3

sorry...what docs...I didnt find them on web

0 Likes

#4

find the node on flows.nodered.org then follow the config-fields.md link in the text

0 Likes

#5

In the config for the chart there are Y Max and Y Min fields.

0 Likes

#6

Not min and max...the scale

0 Likes

#7

you need to describe what you mean. As to me if you define the min max you define the scale.

0 Likes

#8

I have this y-axis

Cattura

I want a step of 1, I dont want 2.5, 3.75, 1.25....

0 Likes

#9

currently that isn't possible. You can set min and max - but it then auto generates the "ticks". There is possibly an option to set it to be integers only - but that would then not work if the scale was (for example) 0 to 1. You may be able to change the max suitably to make the ticks fit more how you want.

1 Like

#10

thak you for the exhaustive response

0 Likes