Nuxt/examples/storybook/components/LineChart.js

10 lines
166 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() {
this.renderChart(this.data, this.options)
}
}