New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yAxis scrollbars don't work correctly with boost #12889
Comments
Internal note: highcharts/ts/parts/Scrollbar.ts Lines 1247 to 1256 in 071ca12
I'm not sure why boost does node set dataMin and dataMax only for yAxis, probably limits data processing.
|
Possible workaround: Set the value of boostThreshold to be higher or equal than the number of points. |
Internal note: |
Internal note: That is probably for performance reason. If highcharts/ts/modules/boost/boost-overrides.ts Lines 278 to 290 in 1e6571d
highcharts/ts/modules/boost/boost-overrides.ts Lines 495 to 514 in 1e6571d
As a simple solution we could calculate the extremes in case of y scrollbar. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! |
unstale |
Workaround: https://jsfiddle.net/BlackLabel/j5p03gv8/ (function(H) {
H.wrap(H.Series.prototype, 'hasExtremes', function() {
return false;
});
})(Highcharts); There's a similar problem with a heatmap with colorAxis, see demo: https://jsfiddle.net/BlackLabel/vou6qwax/ As a workaround, you can overwrite the
|
Expected behaviour
Scrolling should work in the same way as without.
Actual behaviour
Scrollbar shows that the content is zoomed out to its full extent, but it’s not.
It is happening when we have more points that’s boostThreshold (5k by default) or while using both yAxis.min and yAxis.max properties.
Live demo with steps to reproduce
Try to use yAxis scrollbar
https://jsfiddle.net/BlackLabel/fbd42ro9/
Product version
Highstock JS v8.0.0 (2019-12-10)
Affected browser(s)
All
The text was updated successfully, but these errors were encountered: