- 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.
推薦閱讀
- Spring 5.0 By Example
- Node.js 10實戰
- Learning Selenium Testing Tools with Python
- 趣學Python算法100例
- Visual C++應用開發
- 零基礎入門學習Python
- Java編程技術與項目實戰(第2版)
- 零基礎學Kotlin之Android項目開發實戰
- 零基礎學C語言第2版
- 大話Java:程序設計從入門到精通
- Learning JavaScript Data Structures and Algorithms(Second Edition)
- Kotlin Programming By Example
- 算法設計與分析:基于C++編程語言的描述
- 實戰Python網絡爬蟲
- JavaScript Concurrency