More layout stuff

This commit is contained in:
James Cole
2020-06-21 18:29:23 +02:00
parent 00440f282b
commit 1c74db30ed
11 changed files with 211 additions and 21 deletions

View File

@@ -1,11 +1,12 @@
<script>
import { Line } from 'vue-chartjs'
import {Line} from 'vue-chartjs'
export default {
extends: Line,
props: ['options'],
props: ['options', 'chartData'],
mounted () {
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)