dizzy
Posts: 79
Joined: Mon Aug 01, 2022 5:28 pm

Issue with with 4 axis chart w/ multiple series on an axis

Hi,
I have a chart where i would like 3 panes. I can do this fine if i have just one series on each axis drawn. however when i add multiple series to an axis, things dont work out so nicely. Have a look at this fiddle: https://jsfiddle.net/dizzy0ny/vpfy48u3/146/

What i am expecting to see is the top pane should be price + volume. The 2nd pane should show two series. and finally the 3rd pane should show 1 series.
What you see instead is the 2nd pane showing 3 series and the bottom blank.

If i simply remove one of the series from the 2nd pane - it renders as expected: https://jsfiddle.net/dizzy0ny/vpfy48u3/149/

any help in figuring this out would be appreciated.

Thanks,
Mike
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Issue with with 4 axis chart w/ multiple series on an axis

Hello,

This is because you have 5 y-axes, one of which you don't use, if you remove the 4th axis, the graph should be as you expect.

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

Let me know if you have any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/
dizzy
Posts: 79
Joined: Mon Aug 01, 2022 5:28 pm

Re: Issue with with 4 axis chart w/ multiple series on an axis

michal.f wrote: Thu Aug 04, 2022 10:39 am Hello,

This is because you have 5 y-axes, one of which you don't use, if you remove the 4th axis, the graph should be as you expect.

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

Let me know if you have any further questions!
Best regards!
Thank you. i did realize that a bit after posting this and was able to fix it. It also helped w/ another issue with resizing all series on the same axis with a resizer bar.
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Issue with with 4 axis chart w/ multiple series on an axis

You're welcome!

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Usage”