Highcharts - 指定堆叠时间序列的顺序 [英] Highcharts - specifying order of stacked time series
本文介绍了Highcharts - 指定堆叠时间序列的顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法在Highcharts中指定时间序列的堆栈顺序?
解决方案我发现的唯一方法是如果我有系列A,B和C,并且我希望它按 B,C,A
然后我在 B,C,A
顺序中添加序列,使得序列[0] = B,序列[1] = C,序列[2] = A。
这绝对是一个混乱,因为只需签署堆积指数而不是诉诸系列进口订单就会很好。
Is there a way to specify the stacking order of time series in Highcharts?
解决方案
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.
这篇关于Highcharts - 指定堆叠时间序列的顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文