mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-12 03:06:54 +01:00
Add note about inline plugins and registration (#8741)
This commit is contained in:
@@ -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: [{
|
||||
|
||||
Reference in New Issue
Block a user