Nuxt/examples/storybook/components/LineChart.js
2018-02-06 02:36:22 +00:00

10 lines
166 B
JavaScript

import { Line } from 'vue-chartjs'
export default {
extends: Line,
props: ['data', 'options'],
mounted() {
this.renderChart(this.data, this.options)
}
}