Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

clamp argument of toExponential between 0 and 20 when formatting ticks #6423

Merged
merged 1 commit into from
Aug 3, 2019
Merged

clamp argument of toExponential between 0 and 20 when formatting ticks #6423

merged 1 commit into from
Aug 3, 2019

Conversation

veggiesaurus
Copy link
Contributor

fixes #6420 by clamping the argument of toExponential to between 0 and 20, as done with toFixed just below it.

@etimberg etimberg merged commit a46dd96 into chartjs:master Aug 3, 2019
@simonbrunel simonbrunel added this to the Version 2.9 milestone Aug 23, 2019
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when plotting with ticks that are almost zero
4 participants