[Schmitzm-commits] r278 - in trunk/src/schmitzm/jfree: chart/style feature/style

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sat Aug 1 22:02:58 CEST 2009


Author: mojays
Date: 2009-08-01 22:02:57 +0200 (Sat, 01 Aug 2009)
New Revision: 278

Modified:
   trunk/src/schmitzm/jfree/chart/style/AbstractChartStyle.java
   trunk/src/schmitzm/jfree/feature/style/FeatureChartUtil.java
Log:
support of category datasets

Modified: trunk/src/schmitzm/jfree/chart/style/AbstractChartStyle.java
===================================================================
--- trunk/src/schmitzm/jfree/chart/style/AbstractChartStyle.java	2009-08-01 19:55:40 UTC (rev 277)
+++ trunk/src/schmitzm/jfree/chart/style/AbstractChartStyle.java	2009-08-01 20:02:57 UTC (rev 278)
@@ -398,9 +398,6 @@
       if ( getOrientation() != null )
         plot.setOrientation( getOrientation() );
 
-// DEBUG!! ///
-//      plot.setOrientation(PlotOrientation.VERTICAL);
-/////////////
       // style renderer
       for (int i=0; i<plot.getRendererCount(); i++) {
         CategoryItemRenderer renderer      = plot.getRenderer(i);

Modified: trunk/src/schmitzm/jfree/feature/style/FeatureChartUtil.java
===================================================================
--- trunk/src/schmitzm/jfree/feature/style/FeatureChartUtil.java	2009-08-01 19:55:40 UTC (rev 277)
+++ trunk/src/schmitzm/jfree/feature/style/FeatureChartUtil.java	2009-08-01 20:02:57 UTC (rev 278)
@@ -298,7 +298,7 @@
 //        continue;
         
         // Add data to dataset 
-        dataset.addValue(yValue, xAttrName, yAttrName);
+        dataset.addValue(yValue, yAttrName, catValue);
         
 //TODO: Implement the Mapping for CategoryDataset
 //        // Mapping between FID and data index in series



More information about the Schmitzm-commits mailing list