From 6416af392846e6406f5d93c267f66c1065f5e06a Mon Sep 17 00:00:00 2001 From: Kima Date: Sat, 6 Apr 2024 18:04:17 +0200 Subject: [PATCH] fixed gradient on graph --- refilc_mobile_ui/lib/pages/grades/graph.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refilc_mobile_ui/lib/pages/grades/graph.dart b/refilc_mobile_ui/lib/pages/grades/graph.dart index 863d07e..8f22f65 100644 --- a/refilc_mobile_ui/lib/pages/grades/graph.dart +++ b/refilc_mobile_ui/lib/pages/grades/graph.dart @@ -221,7 +221,7 @@ class GradeGraphState extends State { preventCurveOverShooting: true, spots: subjectSpots, isCurved: true, - colors: averageColors, + colors: averageColors.reversed.toList(), barWidth: 8, isStrokeCapRound: true, dotData: FlDotData(show: false),