[+] Add percent score after indicator
This commit is contained in:
@@ -60,7 +60,10 @@ export default class CourseTypeRadar extends Vue
|
|||||||
opacity: 0.4
|
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%',
|
radius: '60%',
|
||||||
center: ['50%', '60%']
|
center: ['50%', '60%']
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user