Skip to content

Type error on series removing and adding with Boost enabled #19895

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

Closed
jedrzejruta opened this issue Oct 6, 2023 · 0 comments · Fixed by #20075
Closed

Type error on series removing and adding with Boost enabled #19895

jedrzejruta opened this issue Oct 6, 2023 · 0 comments · Fixed by #20075

Comments

@jedrzejruta
Copy link
Contributor

Expected behaviour

There isn't any error logged in the console.

Actual behaviour

Uncaught TypeError: Cannot read properties of undefined (reading 'findNearestPointBy') is logged into browser console.

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/3rfjnu7g/

Click on the "Add new line series" button. In most cases, it shouldn't throw an error, but if you click on the button before the KD-Tree is built, the error appears.

Product version

Tested up to Highcharts v.8

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

Successfully merging a pull request may close this issue.

3 participants