[O] Use the same text style for pie graph
This commit is contained in:
@@ -40,6 +40,7 @@ export default class TypePie extends Vue
|
|||||||
avoidLabelOverlap: false,
|
avoidLabelOverlap: false,
|
||||||
radius: ['40%', '60%'],
|
radius: ['40%', '60%'],
|
||||||
center: ['50%', '55%'],
|
center: ['50%', '55%'],
|
||||||
|
label: GraphUtils.pieTextStyle(),
|
||||||
data: this.course.assignmentTypes.map((t, i) => {return {
|
data: this.course.assignmentTypes.map((t, i) => {return {
|
||||||
value: t.weight,
|
value: t.weight,
|
||||||
name: t.name,
|
name: t.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user