[O] Use percentage score instead of score

This commit is contained in:
Hykilpikonna
2019-11-09 21:47:06 -05:00
parent 8a9ca83e68
commit 08bb24cac4
@@ -45,7 +45,7 @@ export default class CourseTypeRadar extends Vue
padding: [3, 5]
}
},
indicator: this.course.assignmentTypes.map(t => {return {name: t.name, max: t.scoreMax}})
indicator: this.course.assignmentTypes.map(t => {return {name: t.name, max: 100}}),
},
tooltip: {},
@@ -76,7 +76,7 @@ export default class CourseTypeRadar extends Vue
},
opacity: 0.2
},
value: this.course.assignmentTypes.map(t => t.score)
value: this.course.assignmentTypes.map(t => t.percent)
}
]
}