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

  • 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.

主站蜘蛛池模板: 平安县| 如东县| 榕江县| 罗平县| 博野县| 城固县| 汶川县| 镇宁| 皋兰县| 宁蒗| 三亚市| 徐闻县| 康保县| 麦盖提县| 栾川县| 滁州市| 寿宁县| 玛多县| 台中市| 仪征市| 墨竹工卡县| 龙里县| 昭觉县| 西安市| 湾仔区| 永济市| 兴隆县| 大城县| 彭水| 鹤岗市| 衡南县| 八宿县| 深水埗区| 澎湖县| 栾城县| 阿荣旗| 湘乡市| 威远县| 都江堰市| 澄迈县| 海口市|