mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-19 16:10:00 +00:00
Expand new layout code.
This commit is contained in:
19
frontend/src/components/dashboard/MainAccountChart.vue
Normal file
19
frontend/src/components/dashboard/MainAccountChart.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
<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>
|
||||
Reference in New Issue
Block a user