Merge pull request #1070 from mackuba/stop_animations

Stop animations when destroying a chart
This commit is contained in:
Evert Timberg 2016-02-27 15:46:05 -05:00
commit ea0d93c970

View File

@ -980,6 +980,7 @@
return helpers.template(this.options.legendTemplate, {datasets: this.data.datasets});
},
destroy : function(){
this.stop();
this.clear();
unbindEvents(this, this.events);
var canvas = this.chart.canvas;