You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -255,6 +255,26 @@ export default Line.extend({
255
255
256
256
Sometimes you need more control over chart.js. Thats why you can access the chart.js instance over `this._chart`
257
257
258
+
## Inline plugins
259
+
260
+
In Chart.js you can define global and inline plugins. Global plugins are working without problems with `vue-chartjs` like in the [chart.js docs](http://www.chartjs.org/docs/latest/developers/plugins.html) described.
261
+
262
+
If you want to add inline plugins, `vue-chartjs` exposes a helper method called `addPlugin()`
263
+
You should call `addPlugin()` before the `renderChart()` method.
0 commit comments