highcharts / highcharts

Highcharts JS, the JavaScript charting framework
https://www.highcharts.com
Other
12.06k stars 3.65k forks source link

Stacked Bar/Column Chart With Multiple Y-Axes #22120

Open FeBe95 opened 3 weeks ago

FeBe95 commented 3 weeks ago

Expected behaviour

When using multiple y-axes with stacked bar charts, the bars should not lie on top of each other.

Actual behaviour

When using multiple y-axes with stacked bar charts, the bars lie on top of each other.

Live demo with steps to reproduce

https://jsfiddle.net/FeBe95/j2sn0m9z/

Product version

Highcharts JS v11.4.8 (2024-08-29)

Affected browser(s)

All

Screenshots

grafik grafik

pawellysy commented 2 weeks ago

Hey @FeBe95 thanks for reporting the issue and for great use case scenarios! The workaround you found is also great and probably should be added to the core functionality. Marking it as a bug

internal note As implemented in the example, series with stacking enabled should create separate stacks for series attached to different axes.