Change color of part of line which is above the threshold

Hey all, Please look at the image. I have defined an upper limit, which is in orange. I want the blue line, which is heart rate. If it goes up then this orange line, that part of blue line should show in red. like the part I have circled in image.

i am using px.line for this any suggestion on that.

Hey @Arslan ,

Please see the link below:

Have a nice day.


@akroma Thanks buddy. It’s help

1 Like