@likelz/vue-chart
v1.0.6
Published
A vue plugin which import chart.js as a vue component.
Downloads
2
Maintainers
Readme
vue-chart
A vue plugin which import chart.js as a vue component.
Install
npm i @likelz/vue-chart
Usage
import vChart from '@likelz/vue-chart';
Vue.use(vChart);
// or with optional tag name
Vue.use(vChart, {
tagName: 'MyTagName',
});
<v-chart
width="400"
height="400"
type="bar"
:data="data"
:options="options"
:chart.sync="chart"
:ctx.sync="ctx"
/>