From: djhuistra Date: Wed, 3 Aug 2016 19:06:21 +0000 (+0200) Subject: Chart.pluginService -> Chart.plugins in documentation X-Git-Tag: v2.2.2~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3088%2Fhead;p=thirdparty%2FChart.js.git Chart.pluginService -> Chart.plugins in documentation Apparently Chart.pluginService is deprecated, but this name is still used in the documentation. I suggest to update it :) --- diff --git a/docs/09-Advanced.md b/docs/09-Advanced.md index 58dd50da9..bf3df4f07 100644 --- a/docs/09-Advanced.md +++ b/docs/09-Advanced.md @@ -372,7 +372,7 @@ The bar controller has a special property that you should be aware of. To correc ### Creating Plugins -Starting with v2.1.0, you can create plugins for chart.js. To register your plugin, simply call `Chart.pluginService.register` and pass your plugin in. +Starting with v2.1.0, you can create plugins for chart.js. To register your plugin, simply call `Chart.plugins.register` and pass your plugin in. Plugins will be called at the following times * Start of initialization * End of initialization