mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 23:21:06 +03:30
13 lines
348 B
JavaScript
Vendored
13 lines
348 B
JavaScript
Vendored
import { Line, mixins } from 'vue-chartjs'
|
|
const { reactiveProp } = mixins
|
|
|
|
export default {
|
|
extends: Line,
|
|
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)
|
|
}
|
|
} |