Page 1 of 1

MultiLine Chart with Multi Series

Posted: Wed Apr 12, 2017 10:13 am
by karthikeyan124
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/

Re: MultiLine Chart with Multi Series

Posted: Wed Apr 12, 2017 12:57 pm
by stpoa
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.