Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for isNaN before building number formatter options (#11238)
* Check for isNaN before building number formatter options When datasets have values approaching Number.MAX_VALUE, the tick calculations might result in infinity and eventually NaN. Passing NaN for minimumFractionDigits or maximumFractionDigits will make the number formatter throw. Instead we check for isNaN and use a fallback value so the formatter does not throw. * Update src/core/core.ticks.js Co-authored-by: Jacco van den Berg <[email protected]> --------- Co-authored-by: Jacco van den Berg <[email protected]>
- Loading branch information