Skip to content

Commit 5d608a0

Browse files
committed
Disable Animation
1 parent 69d9e49 commit 5d608a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ChartJS/widgets/Core.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -571,10 +571,10 @@ define([
571571
},
572572
maintainAspectRatio : this.maintainAspectRatio,
573573
showTooltips : this.showTooltips,
574-
animation: {
575-
duration: this.chartAnimation ? this.animationDuration : 0,
576-
easing: this.animationEasing
577-
}
574+
animation: this.chartAnimation ? ({
575+
duration: this.chartAnimation ? this.animationDuration : 0,
576+
easing: this.animationEasing
577+
}) : false
578578
};
579579

580580
return lang.mixin(lang.clone(defaultOptions), options);

0 commit comments

Comments
 (0)