Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Highcharts - specifying order of stacked time series

Is there a way to specify the stacking order of time series in Highcharts?

like image 773
Andrew C Avatar asked Jul 30 '12 16:07

Andrew C


1 Answers

The only way I have found is by ordering the series as they come in. So, if I have series A, B, and C and I want it to be ordered by B, C, A then I add the series in B, C, A order such that series[0] = B, series[1] = C, and series[2] = A. This is definitely a kludge because it would be nice to just sign a stacking index instead of resorting the series import order.

like image 108
wergeld Avatar answered Oct 05 '22 10:10

wergeld