[O] Make the bar color match the line graph color
This commit is contained in:
@@ -82,6 +82,10 @@ export default class GraphAverage extends Vue
|
|||||||
data.push(
|
data.push(
|
||||||
{
|
{
|
||||||
value: [course.name, GPAUtils.getGP(course, course.letterGrade)],
|
value: [course.name, GPAUtils.getGP(course, course.letterGrade)],
|
||||||
|
itemStyle:
|
||||||
|
{
|
||||||
|
color: Constants.THEME.colors[data.length]
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user