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
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.
- Loading branch information