[+] Create average graphs

This commit is contained in:
Hykilpikonna
2019-09-29 15:18:46 -04:00
parent 1eb6128aac
commit 68a91e5eb8
3 changed files with 33 additions and 0 deletions
@@ -0,0 +1,25 @@
import {Component, Prop, Vue} from 'vue-property-decorator';
import {Course} from '@/components/app/app';
@Component({
})
export default class GraphOverall extends Vue
{
// @ts-ignore
@Prop({required: true}) courses: Course[];
private settings =
{
};
/**
* Convert assignments list to a graph dataset.
*/
get convertChart()
{
let courses = this.courses;
return {
}
}
}
@@ -0,0 +1,8 @@
<template>
<div id="graph-average">
<ve-histogram :data="chart" :extend="settings"></ve-histogram>
</div>
</template>
<script src="./graph-average.ts" lang="ts"></script>
<style src="./graph-average.scss" lang="scss"></style>