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
@@ -57,10 +53,6 @@ Need an API to fetch data? Consider [Cube](https://cube.dev/?ref=eco-vue-chartjs
57
53
58
54
[](https://cube.dev/?ref=eco-vue-chartjs)
59
55
60
-
## Docs
61
-
62
-
- 📖 [Docs](http://vue-chartjs.org/)
63
-
64
56
## How to use
65
57
66
58
This package works with version 2.x and 3.x of Vue.
@@ -228,216 +220,13 @@ export default {
228
220
</script>
229
221
```
230
222
231
-
## Reactivity
232
-
233
-
vue-chartjs will update or re-render the chart if new data is passed.
234
-
235
-
## Migration to v4
236
-
237
-
With v4, this library introduces a number of breaking changes. In order to improve performance, offer new features, and improve maintainability, it was necessary to break backwards compatibility, but we aimed to do so only when worth the benefit.
238
-
239
-
v4 is fully compatible with Chart.js v3.
240
-
241
-
### Tree-shaking
242
-
243
-
v4 of this library, [just like Chart.js v3](https://www.chartjs.org/docs/latest/getting-started/v3-migration.html#setup-and-installation), is tree-shakable. It means that you need to import and register the controllers, elements, scales, and plugins you want to use.
244
-
245
-
For a list of all the available items to import, see [Chart.js docs](https://www.chartjs.org/docs/latest/getting-started/integration.html#bundlers-webpack-rollup-etc).
Using the "lazy way" is okay to simplify the migration, but please consider using the tree-shakable way to decrease the bundle size.
270
-
271
-
Please note that typed chart components register their controllers by default, so you don't need to register them by yourself. For example, when using the Pie component, you don't need to register PieController explicitly.
0 commit comments