@likelz/vue chart

A vue plugin which import chart.js as a vue component.

Version: 1.0.6 Updated: 08/04/2019

By: lastingman License: MIT

Downloads Last 30 Days: 72

Install

npm i @likelz/vue-chart
yarn add @likelz/vue-chart

Repository: https://github.com/lastingman/vue-chart

CDNs

bundle.run: https://bundle.run/@likelz/vue-chart

jsDelivr: https://cdn.jsdelivr.net/npm/@likelz/vue-chart

unpkg: https://unpkg.com/@likelz/vue-chart

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"
/>
Categories: Vue js