* Start of initialization
* End of initialization
* Start of update
-* End of update
+* End of update (before render occurs)
* Start of draw
* End of draw
+* Before an animation is started
Plugins should derive from Chart.PluginBase and implement the following interface
```javascript
this.getDatasetMeta(datasetIndex).controller.update();
}, this);
- this.render(animationDuration, lazy);
-
+ // Do this before render so that any plugins that need final scale updates can use it
Chart.pluginService.notifyPlugins('afterUpdate', [this]);
+
+ this.render(animationDuration, lazy);
},
render: function render(duration, lazy) {