JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21883
  • Score
    100M100P100Q147258F
  • License MIT

Vue component wrapper for chart.js

Package Exports

  • @coreui/vue-chartjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@coreui/vue-chartjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Coreui Vue Chartjs library

NPM Downloads Chart.js Vue

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 2019 creativeLabs Łukasz Holeczek. Code released under the MIT license.