mirror of
https://github.com/KevinMidboe/vue-chartjs.git
synced 2025-10-29 18:00:20 +00:00
18 lines
311 B
JavaScript
18 lines
311 B
JavaScript
import { Bar } from '../BaseCharts'
|
|
import { reactiveProp } from '../mixins'
|
|
|
|
export default {
|
|
extends: Bar,
|
|
mixins: [reactiveProp],
|
|
data: () => ({
|
|
options: {
|
|
responsive: true,
|
|
maintainAspectRatio: false
|
|
}
|
|
}),
|
|
|
|
mounted () {
|
|
this.renderChart(this.chartData, this.options)
|
|
}
|
|
}
|