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

  • Highcharts Essentials
  • Bilal Shahid
  • 97字
  • 2021-08-05 17:35:52

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.

主站蜘蛛池模板: 揭西县| 手游| 榆社县| 常山县| 渭源县| 天等县| 司法| 永吉县| 桐城市| 荣昌县| 阿拉善右旗| 东方市| 武威市| 岢岚县| 磴口县| 林甸县| 苍南县| 招远市| 秭归县| 竹山县| 阿拉善盟| 呼和浩特市| 肥乡县| 夏河县| 永福县| 宿松县| 长白| 元谋县| 合阳县| 和顺县| 遂溪县| 和林格尔县| 汶川县| 永新县| 成安县| 德兴市| 澄江县| 土默特右旗| 龙州县| 昌平区| 弋阳县|