Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
After adding "pointIntervalUnit" to column chart, highcharts crashes tab with out of memory exception. #6405
After adding pointIntervalUnit property to plotOptions.series, browser tab results in out of memory exception. This behavior occurs in Chrome/FF/IE. Added jsFiddle example with crashing code.
Crashes with out of memory exception.
Live demo with steps to reproduce
The problem is setting
It was happen because, I believe, in
Therefore I suggest to add warning in this line about big length of tickPositions array. As sample if length more than 10 000 000
Thanks you for the suggestion! We used to throw
Thank you @inoyakaigor for the demo!
Simplified demo: http://jsfiddle.net/BlackLabel/twf2kqr9/ (or based on Torstein's demo: http://jsfiddle.net/BlackLabel/arxqgy5e/14/ )
@TorsteinHonsi - how should we resolve this? Prevent categories to display when
added a commit
Sep 17, 2018
Done. I re-introduced the old logic that fires when the potential tick-interval is more than makes sense, but unlike before, added a more graceful degradation. The axis now render two ticks (min and max) instead of crashing the whole chart, and print a warning in the console. http://jsfiddle.net/highcharts/twf2kqr9/12/