charts.vue

Simple Vue3 wrapper for Chart.js
555 1
Install
npm install charts.vue
Latest Version:0.2.0-beta.1
Vue:3
License:MIT
Last Updated:Apr 6, 2026
Links: GitHub  ·  npm
Maintainer: frank-orellana

charts.vue

npm

Simple wrapper for Chart.js 3

This version only works with Vue3!!

If you want a version that works with Vue 2 go to Charts.vue2

Installation

npm i chart.js@next charts.vue

Simple usage:

<chart type="bar" :labels="labels" :datasets="dataset" :options="options" />
import Chart from 'charts.vue';
...
components : {Chart}
...
//data:
labels : ['1','2','3'],
dataset : [{
	label: 'My Dataset',
	backgroundColor: '#f87979',
	data: [1,2,3]
}],
options: {
	responsive: true,
	maintainAspectRatio: false,
}

For a full guide of the options you can go to Chart.js

Development

build for development and watch: npm run dev

building: npm run build

Related Packages

uplot-vue

Vue.js wrapper for uPlot that allows you to work with charts declaratively insid...

29,347 135
vue-chartjs

Vue.js wrapper for chart.js for creating beautiful charts.

40,850,058 5,718
vue-chartjs-typescript

Fork from vue-chartjs with typescript definitions

12,510 5,716
vue-chart-js

Chart.js for VueJs.

10,491 33
vue-chartjs-reactive

Vue.js wrapper for chart.js for creating beautiful charts.

1,538

Version History

Pre-releases (4)
Version Released Vue License
0.2.0-beta.1 ^3.0.4 MIT
0.2.0-beta ^3.0.0 MIT
0.2.0-alpha ^3.0.0-beta.15 MIT
0.1.0-alpha ^2.6.11 MIT