我们如何在单个高位图中绘制带有堆积柱形图的柱形图?

问题描述 投票:1回答:1

如何在单个图表中绘制堆积图和柱形图enter image description here

highcharts
1个回答
0
投票

是,您只需要设置适当的x值。

series: [{
  data: [
    [0, 1],
    [1, 3],
    [2, 5]
  ]
}, {
  data: [
    [0, 2],
    [1, 2],
    [2, 4]
  ]
}, {
  data: [
    [3, 8]
  ]
}]

实时演示: http://jsfiddle.net/BlackLabel/6m4e8x0y/4992/

API参考: https://api.highcharts.com/highcharts/series.column.data

© www.soinside.com 2019 - 2024. All rights reserved.