Highcharts Adding New Series Not Working
I have several charts that are added ids according to array data then they are rendered to the a particular chart according to its id. The ids are being added but the new chart dat
Solution 1:
Each time you create a chart, bars
is being reset to that new chart. So in test()
when you reference bars
, it is using the most recently created chart.
In test()
you need to find the actual chart that you what to edit:
var chart = $("#" + idS[j]).highcharts();
chart.addSeries({data: [idData] });
Post a Comment for "Highcharts Adding New Series Not Working"