legend的顺序写成["China", "USA", "EU", "Africa"],然后series中数据渲染的顺序和legend的顺序一致就行,至于tooltip中的总计,要在formatter中计算下合计然后追加到之前显示的数据后边
阅读量:1
点赞量:0