jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

multiple color in one line series

i would like to plot line chart which looks below..

http://jsfiddle.net/Lrt8zomp/1/

i know this is highchart plugin which i can use. but is there something in-built with latest release..?

Thanks
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: multiple color in one line series

Hi,

Thanks for contacting us with your question!

Yes, you can achieve this by using zones.

Demo:
https://jsfiddle.net/BlackLabel/dfuw9rbm/

API References:
https://api.highcharts.com/highcharts/series.line.zones

Let me know if you have any further questions,
Regards!
Magdalena Gut
Developer and Highcharts Support Engineer

Return to “Highcharts Stock”