mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-10 20:13:18 +03:30
13 lines
346 B
JavaScript
13 lines
346 B
JavaScript
import { Bar, mixins } from 'vue-chartjs'
|
|
const { reactiveProp } = mixins
|
|
|
|
export default {
|
|
extends: Bar,
|
|
mixins: [reactiveProp],
|
|
props: ['options'],
|
|
mounted () {
|
|
// this.chartData is created in the mixin.
|
|
// If you want to pass options please create a local options object
|
|
this.renderChart(this.chartData, this.options)
|
|
}
|
|
} |