[jboss-cvs] jboss-seam/src/pdf/org/jboss/seam/pdf/ui ...
Norman Richards
norman.richards at jboss.com
Thu Jun 28 21:54:27 EDT 2007
User: nrichards
Date: 07/06/28 21:54:27
Modified: src/pdf/org/jboss/seam/pdf/ui UIBarChart.java
Log:
fix attributes
Revision Changes Path
1.9 +7 -3 jboss-seam/src/pdf/org/jboss/seam/pdf/ui/UIBarChart.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UIBarChart.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/pdf/org/jboss/seam/pdf/ui/UIBarChart.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- UIBarChart.java 28 Jun 2007 20:30:08 -0000 1.8
+++ UIBarChart.java 29 Jun 2007 01:54:27 -0000 1.9
@@ -68,6 +68,10 @@
this.is3D = true;
}
+ public boolean getIs3D() {
+ return (Boolean) valueBinding("is3D", is3D);
+ }
+
@Override
public void restoreState(FacesContext context, Object state)
{
@@ -126,7 +130,7 @@
@Override
public JFreeChart createChart(FacesContext context) {
- if (!is3D) {
+ if (!getIs3D()) {
return ChartFactory.createBarChart(getTitle(),
getCategoryAxisLabel(),
getValueAxisLabel(),
@@ -136,7 +140,7 @@
false,
false);
} else {
- return ChartFactory.createBarChart3D(title,
+ return ChartFactory.createBarChart3D(getTitle(),
getCategoryAxisLabel(),
getValueAxisLabel(),
dataset,
More information about the jboss-cvs-commits
mailing list