Hello Yasmin, Thanks for this great effort. I've searched all over google but could not find any example for chart for vue 3 with chart.js and vue-chart-3 package. This helped me. I did it own my way in my project, but it gave good reference.
For the line chart, it should be borderColor instead of backgroundColor. For one datasets it's okay, but if you have multiple lines, colored data point won't help differentiating which is which.
Halo kak Yasmin, terima kasih videonya sangat membantu. Saya ingin bertanya terkait dengan chartData yang diambil dari response API. Apakah kak yasmin sudah pernah mencobanya?
Hello Yasmin, Thanks for this great effort. I've searched all over google but could not find any example for chart for vue 3 with chart.js and vue-chart-3 package. This helped me. I did it own my way in my project, but it gave good reference.
Great content!, your work helped me a lot, thank you.
Glad to hear that, Nicolas. You are welcome 🙂
For the line chart, it should be borderColor instead of backgroundColor. For one datasets it's okay, but if you have multiple lines, colored data point won't help differentiating which is which.
Thank you! It helps a lot!
Te amo
thanks
was helpful
How do I access the onClick to work with a line chart? I want to know at which point the click was executed.
I am using
how to implement if data is from an API?
Get data and put in dataset field of chartData prop. Compute lables of data items.
By default Dataset takes "value" field of your data array
thanks
Halo kak Yasmin, terima kasih videonya sangat membantu. Saya ingin bertanya terkait dengan chartData yang diambil dari response API. Apakah kak yasmin sudah pernah mencobanya?
NuxtJs vuex api tutorial