npm.io
0.1.7 • Published 6 years ago

quasar-components-chart

Licence
Version
0.1.7
Deps
3
Size
6.8 MB
Vulns
1
Weekly
0
Stars
2

download chartjs-tutsplus

quasar-components-chart

Install

  • npm install: npm i quasar-components-chart --save

How to use

You need to import the component

import QChart from 'quasar-components-chart'

Now you need to register the component

import QChart from "chart.js";

export default {
  components: { QChart },
  data() {
    return {};
  }
}

You can use the component

<q-chart 
  identifier="myChart"
  stilo="height:30vh; width: 100%"
  :type="line"
  :labels="labels"
  :datasets="datasets"
  :options="options"
/>        

Keywords