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

Disabling turboThreshold Throws Error #12 #8756

Closed
dizzydes opened this issue Aug 9, 2018 · 6 comments
Closed

Disabling turboThreshold Throws Error #12 #8756

dizzydes opened this issue Aug 9, 2018 · 6 comments

Comments

@dizzydes
Copy link

dizzydes commented Aug 9, 2018

Expected behaviour

Disabling turboThreshold for treemap with > 50,000 data points (as objects) allows all data points to be shown on a single treemap.

Actual behaviour

Disabling turboThreshold for treemap with > 50,000 data points (as objects) throws error #12.

Live demo with steps to reproduce

https://jsfiddle.net/gkjvzn41/4/
Couldn't paste in so many points here - but this is how the code looks without the points.

Product version

Highcharts 6.1.1

Affected browser(s)

Chrome (at least, probably more)

@sebastianbochan
Copy link
Contributor

sebastianbochan commented Aug 10, 2018

Hi @dizzydes,
When turboThreshold is not declared, it has 1000 value, byt default. If you have data set > 50000, points are not created. So you need to declare turboThreshold.

Docs:

@jon-a-nygaard any additional comment?

@dizzydes
Copy link
Author

dizzydes commented Aug 10, 2018

Thanks for the response @sebastianbochan.

I did declare it, I disabled it by setting it to 0 as per the docs.

See these lines of code in the JSfiddle:
plotOptions:{ series:{ turboThreshold: 0 } }

Did I do something wrong?
Is it possible that there is a true maximum of objects that Highcharts can plot and I've breached it?

@KacperMadej
Copy link

If turboThreshold will be disabled by setting it to 0 then error No. 12 will not show in browser console.
Here's a demo with >1300 points that works only because turboThreshold is set to 0: https://jsfiddle.net/BlackLabel/k6zq1jt5/

Please try editing the demo to show the problem and if the 50k points is not possible to recreate using JSFiddle then create a standalone HTML file that could be downloaded and opened locally.

@jon-a-nygaard
Copy link
Contributor

The provided demo is crashing due to an bug caused by the point.parent is not existing in the data. Once this is fixed as in this example, then it seems that it is working as expected.

As @KacperMadej pointed with the example it seems that turboThreshold: 0 is working as expected, so a new demo to reproduce the issue would be nice if it can be provided.

@KacperMadej
Copy link

Closing due to inactivity.

@zorent-zebra
Copy link

zorent-zebra commented Feb 13, 2020

FYI we're seeing this same behavior in our application only when we have large data sets.
Turning off turbo caused the error to go away and the chart to render properly.
We were using Highcharts 7, then upgraded to 8 but still ran into this issue.

It explicitly says in HighCharts documentation "Note: In boost mode turbo threshold is forced."
https://api.highcharts.com/highcharts/plotOptions.series.turboThreshold

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

No branches or pull requests

5 participants