We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69d9e49 commit 5d608a0Copy full SHA for 5d608a0
src/ChartJS/widgets/Core.js
@@ -571,10 +571,10 @@ define([
571
},
572
maintainAspectRatio : this.maintainAspectRatio,
573
showTooltips : this.showTooltips,
574
- animation: {
575
- duration: this.chartAnimation ? this.animationDuration : 0,
576
- easing: this.animationEasing
577
- }
+ animation: this.chartAnimation ? ({
+ duration: this.chartAnimation ? this.animationDuration : 0,
+ easing: this.animationEasing
+ }) : false
578
};
579
580
return lang.mixin(lang.clone(defaultOptions), options);
0 commit comments