vue-chartjs-new
v1.0.3
Published
Vue component wrapper for chart.js
Downloads
13
Maintainers
Readme
Coreui Vue Chartjs library
Description
Dedicated components used to implement Chart.js in Vue.js. You can find the CoreUI Vue library documentation here https://coreui.io/vue/docs »
Features
- Implementation with ease - You only need to pass 'datasets' prop and you have your chart working. Optionally you can pass labels, options and plugins according to Chart.js docs. The rest of chart.js configuration issues are already resolved,
- Chart will be rendered, even if you don't pass the labels, as empty labels will be generated automatically. You can also assign months or numeric indexes to labels (see prop description),
- If you don't pass tooltip options, coreui-custom-tooltips, would be used by default. They are resolving the chart.js issue with tooltip beeing cut, when exceeding the canvas.
- Dynamic updates of passed configuration. This feature makes your chart.js configuration automatically reactive to changes.
Copyright and license
Copyright 2019 creativeLabs Łukasz Holeczek. Code released under the MIT license.