Alessandro Menezes 063b7dc075 [2.9] FitBoxes recursion when dimensions are NaN (#7853)
* Infinite recursion when dimensions are NaN

Adding a verification on updateDims that handles a case when dimensions are both
NaN. This caused an infinite recursion on fitBoxes when calculating the layout
for a chart that is mounted on an element that is not yet in DOM.

Fixes #7761
2020-10-09 10:45:13 -04:00


Simple yet flexible JavaScript charting for designers & developers

Downloads Builds Coverage Awesome Slack

Documentation

Contributing

Instructions on building and testing Chart.js can be found in the documentation. Before submitting an issue or a pull request, please take a moment to look over the contributing guidelines first. For support, please post questions on Stack Overflow with the chartjs tag.

License

Chart.js is available under the MIT license.

Description
Languages
JavaScript 89%
TypeScript 10.6%
Shell 0.2%
HTML 0.2%