cullsin
Posts: 25
Joined: Thu May 05, 2022 4:31 pm

help me drawing this chart / Multiple Threshold

Hi,

Please suggest to me how do I draw this chart. I have experience with one threshold line and dual colors above and below the threshold. But, this chart has dual-threshold lines and I need help.

I have attached a chart with this post.

Raja K
Attachments
excersie-1.png
excersie-1.png (115.32 KiB) Viewed 237 times
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: help me drawing this chart / Multiple Threshold

Hi Raja K,
Thanks for contacting us!

You can do this using yAxis.plotLines as line for threshold and series.zones to set a color for parts of series. You can see the demo below.

Demo: https://jsfiddle.net/BlackLabel/nah8wu0g/
API Reference: https://api.highcharts.com/highcharts/yAxis.plotLines
https://api.highcharts.com/highcharts/p ... ries.zones

Feel free to ask any further questions!
Regards!
Hubert Kozik
Highcharts Developer

Return to “Highcharts Usage”