diff --git a/src/main/java/com/application/munera/views/dashboard/DashboardView.java b/src/main/java/com/application/munera/views/dashboard/DashboardView.java index 27bb855..b23604b 100644 --- a/src/main/java/com/application/munera/views/dashboard/DashboardView.java +++ b/src/main/java/com/application/munera/views/dashboard/DashboardView.java @@ -206,7 +206,7 @@ public class DashboardView extends Div { StringBuilder data = new StringBuilder("["); for (Map.Entry entry : personData.entrySet()) { double value = entry.getValue(); - String color = value >= 0 ? "#90EE90" : "#FF9999"; // Green for positive, red for negative + String color = value >= 0 ? "#FF9999" : "#90EE90"; // Green for positive, red for negative data.append("{ y: ").append(value).append(", color: '").append(color).append("' },"); } data.setCharAt(data.length() - 1, ']'); // Replace last comma with closing bracket