Skip to content
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

Unable to exit boost when series contains null points. #17547

Closed
karolkolodziej opened this issue Jul 29, 2022 · 5 comments · Fixed by #17558
Closed

Unable to exit boost when series contains null points. #17547

karolkolodziej opened this issue Jul 29, 2022 · 5 comments · Fixed by #17558

Comments

@karolkolodziej
Copy link
Contributor

Expected behaviour

When there are fewer points than boostThreshold chart should exit the boost module.

Actual behaviour

When one series contains null points, and after zooming and having fewer visible points than the boostThreshold the chart is still boosted.
When the null series is not visible on the chart the issue is not visible.

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/no0txe2c/

Product version

Highcharts JS v10.2.0 (2022-07-05)

Affected browser(s)

All

@bre1470 bre1470 self-assigned this Aug 2, 2022
@bre1470
Copy link
Member

bre1470 commented Aug 2, 2022

Which was the last version this was working? I am down until v9.0.0 and it is never switching back to non-boost after zoom.

As far as I know boost determines enter and exit depending on the data size, not the point size. Points are always empty in boost.

Okay, I see now that the null series is preventing an exit. Otherwise it would fall back to unboost points.

@bre1470 bre1470 removed their assignment Aug 2, 2022
@karolkolodziej
Copy link
Contributor Author

I think it has never worked correctly. I check multiple versions and I didn't find one working.

@bre1470 bre1470 self-assigned this Aug 3, 2022
@bre1470
Copy link
Member

bre1470 commented Aug 3, 2022

Thanks for testing further. 👍

@bre1470
Copy link
Member

bre1470 commented Aug 3, 2022

After playing around I found a workaround. Settings the chart option results in the desired effect:

	boost: {
		allowForce: false
	}

https://jsfiddle.net/bre1470/4z3pmfnv/19/

@bre1470
Copy link
Member

bre1470 commented Aug 3, 2022

Related: #8164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants