Added component for line graph rendering.
This commit is contained in:
parent
f406cc087f
commit
b78ce805a7
11
frontend/src/components/StatsView.vue
Normal file
11
frontend/src/components/StatsView.vue
Normal 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>
|
Loading…
Reference in New Issue
Block a user