mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Add note about inline plugins and registration (#8741)
This commit is contained in:
parent
64593ed74c
commit
d6972abd48
@ -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: [{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user