Add note about inline plugins and registration (#8741)

This commit is contained in:
Jukka Kurkela 2021-03-27 22:43:56 +02:00 committed by GitHub
parent 64593ed74c
commit d6972abd48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,8 @@ var chart3 = new Chart(ctx, {});
Plugins can also be defined directly in the chart `plugins` config (a.k.a. *inline plugins*):
> Note: *inline* plugins are not registered. Some plugins require registering, i.e. can't be used *inline*.
```javascript
var chart = new Chart(ctx, {
plugins: [{