Added component for line graph rendering.

This commit is contained in:
neviyn 2018-09-17 13:12:36 +01:00
parent f406cc087f
commit b78ce805a7

View File

@ -0,0 +1,11 @@
<script>
import { Line } from "vue-chartjs";
export default {
extends: Line,
props: ["data", "options"],
mounted() {
this.renderChart(this.data, this.options);
}
};
</script>