From 6389bd38293d683cfcb76b08a87c6e7eaf9db532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20Tilve=20=C3=81lvaro?= Date: Thu, 5 Jul 2012 00:23:27 +0200 Subject: [PATCH] Updated project dashboard piechart colors FEA: ItEr76S15OrganizingPerProjectDashboard --- .../org/libreplan/web/dashboard/DashboardController.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libreplan-webapp/src/main/java/org/libreplan/web/dashboard/DashboardController.java b/libreplan-webapp/src/main/java/org/libreplan/web/dashboard/DashboardController.java index fec89400f..a947aa7f1 100644 --- a/libreplan-webapp/src/main/java/org/libreplan/web/dashboard/DashboardController.java +++ b/libreplan-webapp/src/main/java/org/libreplan/web/dashboard/DashboardController.java @@ -180,8 +180,7 @@ public class DashboardController extends GenericForwardComposer { pieChart.addValue(_("No deadline"), dashboardModel.getPercentageOfTasksWithNoDeadline()); - // FIXME: Replace by more suitable colors - pieChart.addIntervalColors("red", "blue", "green"); + pieChart.addIntervalColors("#8fbe86", "#eb6b71", "#cfcfcf"); renderPieChart(pieChart, divId); } @@ -289,8 +288,8 @@ public class DashboardController extends GenericForwardComposer { statusLegend(TaskStatusEnum.BLOCKED, taskStatus), dashboardModel.getPercentageOfBlockedTasks()); - // FIXME: Replace by more suitable colors - taskStatusPieChart.addIntervalColors("red", "blue", "green", "yellow"); + taskStatusPieChart.addIntervalColors("#d599e8", "#4c99e8", "#8fbe86", + "#ffbb6b"); renderPieChart(taskStatusPieChart, divId); }