]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Pie: Fix last slice animation and NaN handling (#8760)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Wed, 31 Mar 2021 19:25:25 +0000 (22:25 +0300)
committerGitHub <noreply@github.com>
Wed, 31 Mar 2021 19:25:25 +0000 (15:25 -0400)
commitf1810586f7288208c04c485cd14dbb6471988de2
tree393e31efa981c39eeade306e750112926fe320b7
parent5cb60d51109d4200ea6ac1fe65554f542075d11b
Pie: Fix last slice animation and NaN handling (#8760)

* Pie: Fix last slice animation and NaN handling

* Add tests

* Fix polarArea
src/controllers/controller.doughnut.js
src/elements/element.arc.js
test/fixtures/controller.doughnut/doughnut-NaN.js [new file with mode: 0644]
test/fixtures/controller.doughnut/doughnut-NaN.png [new file with mode: 0644]
test/fixtures/controller.doughnut/doughnut-animation-hide-last.js [new file with mode: 0644]
test/fixtures/controller.doughnut/doughnut-animation-hide-last.png [new file with mode: 0644]