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

HighStock Flags Boost Module erroring out 'cannot read property length of undefined' #7634

Closed
drichard1989 opened this issue Jan 9, 2018 · 3 comments

Comments

@drichard1989
Copy link

@drichard1989 drichard1989 commented Jan 9, 2018

Expected behaviour

Wanting to use highstock with the boost module on a line chart with multiple series and flags.

Actual behaviour

When we try to incorporate the boost module, we keep getting an error that states 'cannot read property length of undefined.'

Disabling the boost module allows us to render the chart, but the chart becomes slow with the navigator handles and large data sets. Removing flags allows us to render the chart, but we need those.

The error seems to start occurring when the points number is greater than the boostThreshold.

I guess our question is, can you use the boost module with flags on a line chart in highstock with a high number of series? We have included the fiddle below that is a broken fiddle for your use.

Live demo with steps to reproduce

http://jsfiddle.net/gerdsen/bLvr7dz5/4/

Affected browser(s)

All.
Version 6.0.1

@Izothep
Copy link
Contributor

@Izothep Izothep commented Jan 10, 2018

Thank you for reporting the issue!

The same problem is visible when multiple lines are combined with pie chart:
http://jsfiddle.net/ntjgu67n/3/

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Jan 10, 2018

@zombiehugs
Copy link

@zombiehugs zombiehugs commented Jan 10, 2018

@TorsteinHonsi we most definitely appreciate the quick turnaround!

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

Successfully merging a pull request may close this issue.

None yet
4 participants