quasar-components-chart

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"
/>
- identifier = ID
- stilo = CSS
- type = Chart type
- labels = Labels of chart js
- datasets = Datasets of Chart js
- options = Options of Chart js
Related Packages
vue-chartjs-financial
Financial (Candlestick/Ohlc) charts with chartjs.org and npm package vue-chartjs
3,033
7
Version History
| Version | Released | License |
|---|---|---|
| 0.1.7 | ||
| 0.1.6 | ||
| 0.1.5 | ||
| 0.1.4 | ||
| 0.1.3 | ||
| 0.1.2 | ||
| 0.1.1 | ||
| 0.1.0 |