This commit is contained in:
20
ayanova/src/components/chart-line-control.vue
Normal file
20
ayanova/src/components/chart-line-control.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<script>
|
||||
import { Line } from "vue-chartjs";
|
||||
|
||||
export default {
|
||||
extends: Line,
|
||||
props: {
|
||||
chartdata: {
|
||||
type: Object,
|
||||
default: null
|
||||
},
|
||||
options: {
|
||||
type: Object,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.renderChart(this.chartdata, this.options);
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user