karthikeyan124
Posts: 21
Joined: Tue Dec 20, 2016 12:41 pm

MultiLine Chart with Multi Series

Wed Apr 12, 2017 10:13 am

I want to draw multiline chart as shown below fiddle example, In below example, data values are hard coded and we certainly know that, only 3 set of lines will be there, assume i want to generate this lines by dynamically (may be 3 line at a time or 4 line at a time it depends), hence i want to add values to series by dynamically with linecolor, series name, data values.

http://jsfiddle.net/ctsLgsv7/2/

stpoa

Re: MultiLine Chart with Multi Series

Wed Apr 12, 2017 12:57 pm

Hi,

Here is a example of how you can update your series with new options as well as adding single point to it.

https://jsfiddle.net/m8rnrgtu/

Api reference:
http://api.highcharts.com/highcharts/Series.update
http://api.highcharts.com/highcharts/Series.addPoint

Regards.

Return to “Highcharts Usage”