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
Need an API to fetch data? Consider [Cube](https://cube.dev/?ref=eco-vue-chartjs), an open-source API for data apps.
55
+
56
+
<br />
57
+
58
+
[](https://cube.dev/?ref=eco-vue-chartjs)
59
+
60
+
## Docs
61
+
62
+
- 📖 [v3 Docs](http://vue-chartjs.org/)
63
+
42
64
## How to use
43
65
44
66
This package works with version 2.x and 3.x of Vue.
@@ -49,7 +71,7 @@ Import the component.
49
71
import { Bar } from'vue-chartjs'
50
72
```
51
73
52
-
For Vue 2 projects, you need to import from 'vue-chartjs/legacy'.
74
+
For Vue 2 projects, you need to import from `vue-chartjs/legacy`.
53
75
54
76
```javascript
55
77
import { Bar } from'vue-chartjs/legacy'
@@ -238,7 +260,7 @@ import { Bar } from 'vue-chartjs'
@@ -249,7 +271,7 @@ Using the "lazy way" is okay to simplify the migration, but please consider usin
249
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