highcharts / highcharts

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

Fully boosted chart does not respect multiple y axes' boundaries #21185

Open javolio opened 1 month ago

javolio commented 1 month ago

Expected behaviour

When using multiple y axes with distinct vertical spaces, series should not be rendered beyond their axes' min and max.

Actual behaviour

If every series in a chart is boosted in such a case, the series will only be clipped to the plot area, not its axis. The behavior is as expected if any series are not boosted or if boost.allowForce is false.

This is most likely related to #19039

Live demo with steps to reproduce

https://jsfiddle.net/t37sno52/2/

Here, you can click the buttons to toggle disabling boosting of the first series or to disable the boost.allowForce option.

image

Product version

Highcharts JS v11.4.1 (2024-04-04)

Affected browser(s)

Confirmed in Chrome and Firefox

karolkolodziej commented 3 weeks ago

Hi @javolio! Thank you for reporting the issue!

Indeed the allowForce: true, is causing it.