From abf98b4d9d885ff68d2dcf53a85668738b8c8e25 Mon Sep 17 00:00:00 2001 From: Lorenzo Tilve Date: Fri, 18 Sep 2009 14:56:57 +0200 Subject: [PATCH] ItEr26S10CUCreacionProxectoPlanificacionItEr25S11: Configured jfreechart maven dependencies again nexus.naval.igalia.com * It was included a pie chart under ResourceLoad graph --- .../web/ganttz/zul/resourcesLoadLayout.zul | 56 ++++++++++++++++--- navalplanner-webapp/pom.xml | 8 +++ pom.xml | 16 ++++++ 3 files changed, 72 insertions(+), 8 deletions(-) diff --git a/ganttzk/src/main/resources/web/ganttz/zul/resourcesLoadLayout.zul b/ganttzk/src/main/resources/web/ganttz/zul/resourcesLoadLayout.zul index 1b3b19a87..90f2da42f 100644 --- a/ganttzk/src/main/resources/web/ganttz/zul/resourcesLoadLayout.zul +++ b/ganttzk/src/main/resources/web/ganttz/zul/resourcesLoadLayout.zul @@ -1,14 +1,54 @@ - - -
-
+ + + + +
+
-
-
+
+
+
+ + +
+ + + + + +
+ + + + PieModel piemodel = new SimplePieModel(); + piemodel.setValue("Resources assigned over 100%", new Double(12.5)); + piemodel.setValue("Resources assigned under 50%", new Double(50.2)); + piemodel.setValue("Resources assigned at 100%", new Double(20.5)); + piemodel.setValue("Resources assigned between 50% and 100%", new Double(15.5)); + + + + piechart.setModel(piemodel); + + + +
+
- + + + This is the resources load assignment page. To set this + element ... + + - \ No newline at end of file + diff --git a/navalplanner-webapp/pom.xml b/navalplanner-webapp/pom.xml index 93c42f3ea..55afa9d86 100644 --- a/navalplanner-webapp/pom.xml +++ b/navalplanner-webapp/pom.xml @@ -60,6 +60,14 @@ org.beanshell bsh + + jfree + jfreechart + + + jfree + jcommon + commons-fileupload diff --git a/pom.xml b/pom.xml index 5db0b0c8c..a8d5f84a5 100644 --- a/pom.xml +++ b/pom.xml @@ -166,6 +166,10 @@ gettext-commons-site http://gettext-commons.googlecode.com/svn/maven-repository + + thirdparty + http://nexus.naval.igalia.com/content/repositories/thirdparty + @@ -179,6 +183,7 @@ Codehaus Plugin Repository http://repository.codehaus.org + --> @@ -322,6 +327,17 @@ jgrapht-jdk1.5 0.7.3 + + + jfree + jfreechart + 1.0.13 + + + jfree + jcommon + 1.0.16 + joda-time