mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-19 16:10:00 +00:00
20 lines
390 B
Vue
20 lines
390 B
Vue
|
|
|
||
|
|
<script>
|
||
|
|
import { Line } from 'vue-chartjs'
|
||
|
|
export default {
|
||
|
|
extends: Line,
|
||
|
|
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)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
|
||
|
|
<style scoped>
|
||
|
|
|
||
|
|
</style>
|