code: function(chartInstance) {
  			var index = helpers.findIndex(this.animations, function(animationWrapper) {
  				return animationWrapper.chartInstance === chartInstance;
  			});
  
  			if (index !== -1) {
  				this.animations.splice(index, 1);
  				chartInstance.animating = false;
  			}
  		}
docs: Cancel the animation for a given chart instance