-
-
Notifications
You must be signed in to change notification settings - Fork 832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does this library work with composition-api? #637
Comments
The composition-api was introduce in Vue 3.0 and isn't currently supported. |
👆 |
@apertureless Any plans for Vue 3 support? |
If I find the time, yes :D |
@apertureless would it perhaps be possible to please make a sticky of this or another issue stating Vue 3 support please? It will probably be one of the most searched issues for those wanting to upgrade. |
+1 |
I wanted to upgrade my application to Vue 3, but I found that If you are using
For me, no changes to my application code were necessary other than that command (which updates In case you're curious about some of the details, I added some comments on that pull request (link again) explaining why I made the particular changes that I did. Happily, I didn't need to make very many changes to DisclaimerI cannot guarantee that my branch will solve all Vue 3 compatibility issues for all applications; I made no effort to update all relevant parts of |
For everyone, i've just released a port of https://github.com/victorgarciaesgi/vue-chart-3 Demo: https://codesandbox.io/s/demo-vue-chart-3-ugynm?file=/src/App.vue |
@victorgarciaesgi, thank you! I noticed that vue3-charts has no HorizontalBarChart, which I used in vue-charts, will it be added? |
@kyrylo93 The horizontal bar chart was removed in Chart.js 3. You can now just use a regular bar chart, but change the indexAxis from x to y in the options configuration: https://www.chartjs.org/docs/latest/charts/bar.html#horizontal-bar-chart to make it horizontal. |
how can I implement a stacked bar with this library |
Thanks for your work. I have installed your fork but I'm getting this error with the charts load: Chart.js?30ef:2744 Uncaught TypeError: Cannot read properties of null (reading 'clearRect') Any ideas what it can be? Thanks |
@ajerez Did you clone the Vue 3 or Vue 2 one? |
Sorry it was my fault, I was recreating de library chart components like in the vue-chartjs library docs. |
It is beeing worked on. |
vue-chartjs supports Vue3 and composition-api now! |
Is there anywhere with vue3 examples using composition api? |
Does this library work with composition-api?
How do I make it work?
The text was updated successfully, but these errors were encountered: