]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Animate circumference (#7079)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Mon, 10 Feb 2020 20:10:15 +0000 (22:10 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2020 20:10:15 +0000 (15:10 -0500)
src/controllers/controller.doughnut.js

index e4ae17d687cd3994e63ad9fd00f72312e9db43ae..122844eff8e0a877e98bccb81c7dbc58f9c6dbb2 100644 (file)
@@ -13,7 +13,7 @@ defaults.set('doughnut', {
        animation: {
                numbers: {
                        type: 'number',
-                       properties: ['x', 'y', 'startAngle', 'endAngle', 'innerRadius', 'outerRadius']
+                       properties: ['circumference', 'endAngle', 'innerRadius', 'outerRadius', 'startAngle', 'x', 'y']
                },
                // Boolean - Whether we animate the rotation of the Doughnut
                animateRotate: true,