官术网_书友最值得收藏!

Excluding a series from stacking

We can also exclude a particular series from stacking by passing null to its stacking property, as shown in the following code:

series: [{
  name: 'Gold',
  data: [46, 38, 24, 29, 13]
}, {
  name: 'Silver',
  data: [29, 27, 26, 17, 8]
}, {
  name: 'Bronze',
  data: [29, 23, 32, 19, 7],
  stacking: null
}]

The Bronze series will now be excluded from the stacking context and will be shown in a separate column:

In the next example, we will configure the column chart to stack data series proportionally for each category.

主站蜘蛛池模板: 云安县| 浪卡子县| 潼关县| 西丰县| 邯郸县| 陆丰市| 瑞安市| 麻江县| 虞城县| 沭阳县| 麻栗坡县| 泰安市| 手游| 来宾市| 汾西县| 陈巴尔虎旗| 军事| 林口县| 湛江市| 兴海县| 晋州市| 呼玛县| 建瓯市| 西华县| 麻江县| 自贡市| 嘉义市| 土默特左旗| 顺昌县| 双鸭山市| 龙州县| 筠连县| 南川市| 肇庆市| 漯河市| 宁国市| 财经| 桑日县| 囊谦县| 宜城市| 宿州市|