How to change line chart, line color depending on input values?

I'd like to be able to programatically change the line color of a line chart if it exceeded a threshold limit. See attached image. In this case I'd like the yellow line to change to green if within the limits. Please help :disappointed_relieved:

image

Many thanks,

Guillermo.

I'm not aware of any simple way to do this.

Hi,Have you find a solution? Has a same question with you.

https://flows.nodered.org/flow/ea40616a1042f96c3018542a44735c90
https://flows.nodered.org/flow/a78ac10821112eb07fb8be8957a9f7cb
Choose the one you find more suitable for your application

1 Like