[+] Add percent score after indicator

This commit is contained in:
Hykilpikonna
2019-11-09 22:10:08 -05:00
parent 4d9d8e0be5
commit adca4b41e2
@@ -60,7 +60,10 @@ export default class CourseTypeRadar extends Vue
opacity: 0.4
}
},
indicator: this.course.assignmentTypes.map(t => {return {name: t.name, max: 100}}),
indicator: this.course.assignmentTypes.map((t, i) => {return {
name: `${t.name}\n${t.percent}%`,
max: 100,
}}),
radius: '60%',
center: ['50%', '60%']
},