dscheste
Posts: 2
Joined: Thu Oct 07, 2021 5:00 am

Multiple xAxis with multiple stacked columns

Hello,
I am trying to build a chart that would have multiple xAxis, which would show stacked columns.
Is this possible with HighCharts?

I have managed to add 2 xAxis - can I have more?

https://jsfiddle.net/dscheste/6fe7gdvx/35/

I cannot figure out how to place stacked columns onto that additional xAxis, they are all show on the main xAxis.

Thank you for any insights.
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Multiple xAxis with multiple stacked columns

Hello dscheste,

Welcome to our forum and thanks for contacting us with your question!

You can have as many axes as you want, there is no limitation.

When it comes to your question, it is a bit unclear to me and I'm not quite sure if I understand what do you want to achieve, so I have prepared few charts showing different cases.
Two charts, first one multiple X axis, second one with multiple Y axis:
https://jsfiddle.net/BlackLabel/Ltb0sey2/

3D column chart with columns stacked behind each other:
http://jsfiddle.net/BlackLabel/1Lpuow3f/

Let me know if any of these charts was what you were looking for.
Best regards!
Mateusz Bernacik
Highcharts Developer
dscheste
Posts: 2
Joined: Thu Oct 07, 2021 5:00 am

Re: Multiple xAxis with multiple stacked columns

Thank you @mateusz.b.
Here is a mockup of my end goal:
https://1drv.ms/u/s!ArG5E62RGctxjbEQ6ycuUjl2mWH1ww
I think your suggestion can get me off the ground here.
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Multiple xAxis with multiple stacked columns

Hi dscheste,

Thanks for that illustration.

I think this chart is closest to what you want to achieve: http://jsfiddle.net/BlackLabel/1Lpuow3f/
Tell me what would you like to change in the first place and I will see what can be done.

Best regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Usage”