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

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.

主站蜘蛛池模板: 镇巴县| 中阳县| 莎车县| 喀什市| 开化县| 蓝山县| 且末县| 广西| 中宁县| 运城市| 阳西县| 龙口市| 固镇县| 鲁山县| 江永县| 宁海县| 缙云县| 永兴县| 成武县| 洪洞县| 沁水县| 白银市| 伊宁市| 云梦县| 微山县| 冀州市| 积石山| 南宁市| 财经| 鹤峰县| 育儿| 临高县| 遂宁市| 奉化市| 泸西县| 蚌埠市| 浦县| 望奎县| 上林县| 石嘴山市| 沅江市|