]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Chart.pluginService -> Chart.plugins in documentation 3088/head
authordjhuistra <djhuistra@gmail.com>
Wed, 3 Aug 2016 19:06:21 +0000 (21:06 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Aug 2016 19:06:21 +0000 (21:06 +0200)
Apparently Chart.pluginService is deprecated, but this name is still used in the documentation. I suggest to update it :)

docs/09-Advanced.md

index 58dd50da996ad5825c53443e88c726aea57be130..bf3df4f0785b1d258cbd92d7dc482de55ec2bd48 100644 (file)
@@ -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