2020-08-05 07:36 AM
I am trying to use the chart provided by NodeRed to set the Ymin and Ymax of my graphs so I can properly observe data for debugging(auto scaling is ruining detail). I'm aware NodeRed's chart node requires an inject architecture but I'm not sure how that it supposed to work with variables coming out of ST's post processing node. I've only seen examples of the inject node triggering a function node to provide dummy data. Any pointers would be greatly appreciated
Solved! Go to Solution.
2020-08-13 06:15 AM
ST chart is not supposed to work as output of the single value sub-flow, only gauge does.
I proposed you, single flow, in order to give you some hints to develop your own subflow and allow you to get Ymin and Ymax values.
2020-08-06 12:20 AM
Hello @AGamb.2
If I understand well, you want to use NodeRed Chart to get Ymin and Ymax and use them in the ST chart, right?
Unfortunately even if you can see these ymin & ymax attributes in the graph they are only available for Bar chart type, It is not possible to set them in others ST chart.
Regards
Richard.
2020-08-06 09:38 AM
Hi @Richard.Chvr ,
Thanks for replying quickly. I understand that the ST chart has Ymin and Ymax available only for the Bar Chart. That is why I want to avoid it all together and use the Chart Node that comes with NodeRed. This chart does support Ymin and Ymax for a regular chart. But it doesn't seem to work the ST processing node like the ST chart. I want to know how to make this chart work with the ST processing node so I can stop autoscaling
2020-08-07 12:35 AM
Hi @AGamb.2 ,
I don't know exactly what data format is expected by NodeRed Chart. You have to know the ST chart expect json formatted data as payload input ( see input section of chart help for more info).
You'll probably need some processing in order to input those data to NodeRed chart. Maybe be single value sub-flow could help to start:
2020-08-12 11:44 AM
2020-08-13 06:15 AM
ST chart is not supposed to work as output of the single value sub-flow, only gauge does.
I proposed you, single flow, in order to give you some hints to develop your own subflow and allow you to get Ymin and Ymax values.