Nuxt/examples/vue-chartjs/components/bar-chart.js

9 lines
161 B
JavaScript
Raw Normal View History

2017-08-24 09:36:41 +00:00
import { Bar } from 'vue-chartjs'
export default Bar.extend({
props: ['data', 'options'],
mounted () {
this.renderChart(this.data, this.options)
}
})