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

Fix "RangeError: Maximum call stack size exceeded" exception when labels are big (>125000) - #5935 #5936

Merged
merged 3 commits into from Dec 31, 2018

Conversation

ckyycc
Copy link
Contributor

@ckyycc ckyycc commented Dec 23, 2018

Below is copied from MDN Function.prototype.apply:

But beware: in using apply this way, you run the risk of exceeding the JavaScript engine's argument length limit.

Fixes #5935

@ckyycc ckyycc changed the title Fix #5935 Fix "RangeError: Maximum call stack size exceeded" exception when labels are big (>125000) - #5935 Dec 23, 2018
src/scales/scale.time.js Outdated Show resolved Hide resolved
benmccann
benmccann previously approved these changes Dec 26, 2018
src/scales/scale.time.js Outdated Show resolved Hide resolved
@simonbrunel simonbrunel added this to the Version 2.8 milestone Dec 31, 2018
@simonbrunel simonbrunel merged commit a8920f6 into chartjs:master Dec 31, 2018
@simonbrunel
Copy link
Member

Thanks @ckyycc

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

Successfully merging this pull request may close these issues.

None yet

5 participants