简体   繁体   中英

Highcharts: convert columns to stacked column in multiple axis chart

I want to use combo-multiple-axis chart but i want to convert "columns" to "stacked columns" because one of my "y value serie" is the sum of 3 data series and i want to show that change on my chart too.

I am so new with javascript and coding but i guess there might be a way to add sub-data series to a primary data serie.

Just turn on stacking on the columns and then add multiple series of type column and this will just work.

plotOptions: {
    column: {
        stacking: 'normal'
    }
},

Fiddle example here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM