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:

https://community.plotly.com/t/color-change-by-range-in-line-chart/17829

Have a nice day.

2 Likes

@akroma Thanks buddy. It’s help

1 Like