vutran6853 / vue3-chart-v2

vue3-chart-v2 is a wrapper for Chart.js in vue 3. You can easily create reuseable chart components. Inspired by vue-chartjs
https://vue3-chart-v2.netlify.app/
38 stars 31 forks source link

Integrate chartjs-plugin-datalabels #7

Open malballah opened 3 years ago

malballah commented 3 years ago

@vutran6853 Thank you for this lib I used it to integrate chart js with vuejs 3 and it works perfectly but the issue I am trying to use chartjs-plugin-datalabels with no success I appreciate your help if you could point me out to how to use it

vutran6853 commented 3 years ago

You can check out main site from chart.js Chart.js. When you pass your data which is object. You can have many property like label to display on your chart. Hope this help.

Paulsky commented 3 years ago

Hello @vutran6853, is there a way to register a plugin? Like this: https://www.chartjs.org/docs/latest/developers/plugins.html