Nuxt/examples/storybook/components/LineChart.js

10 lines
167 B
JavaScript
Raw Normal View History

2018-02-06 02:36:22 +00:00
import { Line } from 'vue-chartjs'
export default {
extends: Line,
props: ['data', 'options'],
mounted () {
2018-02-06 02:36:22 +00:00
this.renderChart(this.data, this.options)
}
}