ItEr26S10CUCreacionProxectoPlanificacionItEr25S11: Configured jfreechart maven dependencies again nexus.naval.igalia.com

* It was included a pie chart under ResourceLoad graph
This commit is contained in:
Lorenzo Tilve 2009-09-18 14:56:57 +02:00 committed by Javier Moran Rua
parent 8b006b67ff
commit abf98b4d9d
3 changed files with 72 additions and 8 deletions

View file

@ -1,14 +1,54 @@
<zk xmlns:n="http://www.zkoss.org/2005/zk/native">
<borderlayout height="300px" width="1600px" sclass="resourcesload">
<west size="200px" flex="true" collapsible="true" splittable="true" autoscroll="true">
<div id="insertionPointLeftPanel"></div>
</west>
<borderlayout height="600px" width="auto">
<north height="50%" collapsible="true" splittable="true">
<borderlayout sclass="resourcesload">
<west size="200px" flex="true" collapsible="true"
splittable="true" autoscroll="true">
<div id="insertionPointLeftPanel"></div>
</west>
<center autoscroll="true">
<div id="insertionPointRightPanel"></div>
<center autoscroll="true">
<div id="insertionPointRightPanel"></div>
</center>
</borderlayout>
</north>
<center>
<borderlayout>
<west size="200px" flex="true" collapsible="true"
splittable="true" autoscroll="true">
<label value="ResourcesLoadGraph details"
width="150px" tooltip="any" />
</west>
<center autoscroll="true">
<vbox>
<zscript>
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));
</zscript>
<chart id="piechart" title="Pie Chart"
width="500" height="250" type="pie" threeD="false"
fgAlpha="128" onClick="drilldown()" />
<zscript>
piechart.setModel(piemodel);
</zscript>
</vbox>
</center>
</borderlayout>
</center>
</borderlayout>
<popup id="any" width="300px">
<vbox>
This is the resources load assignment page. To set this
element ...
</vbox>
</popup>
</zk>
</zk>

View file

@ -60,6 +60,14 @@
<groupId>org.beanshell</groupId>
<artifactId>bsh</artifactId>
</dependency>
<dependency>
<groupId>jfree</groupId>
<artifactId>jfreechart</artifactId>
</dependency>
<dependency>
<groupId>jfree</groupId>
<artifactId>jcommon</artifactId>
</dependency>
<!-- Apache Commons Fileupload (required by ZK) -->
<dependency>
<groupId>commons-fileupload</groupId>

16
pom.xml
View file

@ -166,6 +166,10 @@
<id>gettext-commons-site</id>
<url>http://gettext-commons.googlecode.com/svn/maven-repository</url>
</repository>
<repository>
<id>thirdparty</id>
<url>http://nexus.naval.igalia.com/content/repositories/thirdparty</url>
</repository>
</repositories>
<pluginRepositories>
@ -179,6 +183,7 @@
<name>Codehaus Plugin Repository</name>
<url>http://repository.codehaus.org</url>
</pluginRepository>
-->
</pluginRepositories>
@ -322,6 +327,17 @@
<artifactId>jgrapht-jdk1.5</artifactId>
<version>0.7.3</version>
</dependency>
<!-- Jfreechart -->
<dependency>
<groupId>jfree</groupId>
<artifactId>jfreechart</artifactId>
<version>1.0.13</version>
</dependency>
<dependency>
<groupId>jfree</groupId>
<artifactId>jcommon</artifactId>
<version>1.0.16</version>
</dependency>
<!-- Joda Time -->
<dependency>
<groupId>joda-time</groupId>