Files
firefly-iii/frontend/src/components/dashboard/MainAccountChart.vue

20 lines
390 B
Vue
Raw Normal View History

2020-06-17 07:06:45 +02:00
<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>