jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

column chart with stacked bar chart

i am trying to create a column chart where one bar is full bar and next to it is stacked bar chart for same category which looks like below screenshot.
i am little confused about data arrangement. would you have example of it, i would need 4 data stacked together for stacked bar.

can you please explain how can i do it ?
sample.png
sample.png (29.01 KiB) Viewed 355 times
jakub.j
Posts: 1091
Joined: Tue Jan 24, 2023 11:14 am

Re: column chart with stacked bar chart

Thanks for contacting us with your question!

You can arrange your data by adding series.column.stacking to 'normal' property to only those series that you want to be stacked. Otherwise, you don't need to set anything.

I prepared a live demo for you.

Demo: https://jsfiddle.net/BlackLabel/t4c72wm9/

I hope you will find it useful

Best regards
Jakub

Return to “Highcharts Stock”