Skip to content

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

Description

@jedrzejruta

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

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions