vue-chartjs lets Vue applications render Chart.js v4 charts through reusable components. Install it alongside Chart.js peer dependencies for doughnut, line, and other chart types.
Overview
vue-chartjs bridges Chart.js and Vue by exporting chart components you can compose in single-file components. It targets developers who want Chart.js rendering inside Vue 2 or Vue 3 apps without manually wiring canvas lifecycle code.
The package documents quickstart installation, reactivity patterns, access to underlying Chart instances, accessibility notes, and migrations from older vue-chartjs or vue-chart-3 releases. API and example sections cover typical doughnut, pie, and cartesian charts.
Because Chart.js remains the rendering engine, styling and dataset configuration follow Chart.js conventions while Vue handles component boundaries. The MIT-licensed wrapper is maintained for modern Chart.js major versions.
Contributions follow a standard fork-and-pull workflow on the apertureless repository.
Key features
- Vue components wrapping Chart.js v4
- Reusable chart component pattern
- Vue 2 and Vue 3 support paths
- Documentation for Chart instance access
- Migration guides from older wrappers
- MIT licensed open component library
Use cases
- Embedding dashboards in Vue admin panels
- Sharing chart components across Vue projects
- Migrating legacy vue-chartjs apps to v4
- Building accessible charts with Vue reactivity