[Schmitzm-commits] r273 - trunk/src/schmitzm/jfree/chart/style

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


Author: alfonx
Date: 2009-08-01 19:58:16 +0200 (Sat, 01 Aug 2009)
New Revision: 273

Modified:
   trunk/src/schmitzm/jfree/chart/style/BasicChartStyle.java
Log:
* Hackingsession: Charts ...

Modified: trunk/src/schmitzm/jfree/chart/style/BasicChartStyle.java
===================================================================
--- trunk/src/schmitzm/jfree/chart/style/BasicChartStyle.java	2009-08-01 17:43:57 UTC (rev 272)
+++ trunk/src/schmitzm/jfree/chart/style/BasicChartStyle.java	2009-08-01 17:58:16 UTC (rev 273)
@@ -224,7 +224,6 @@
    * @param chart chart the style is applied to
    */
   public void applyToChart(JFreeChart chart) {
-    super.applyToChart(chart);
     // apply the stacked and stepped property
     if ( chart.getPlot() instanceof XYPlot )
       chart.getXYPlot().setRenderer( JFreeChartUtil.createXYRenderer(this) );
@@ -232,6 +231,8 @@
       chart.getCategoryPlot().setRenderer( JFreeChartUtil.createCategoryRenderer(this) );
     else
       LOGGER.warn("Properties of BasicChartStyle can not be applied to plot: "+chart.getPlot());
+
+    super.applyToChart(chart);
   }
   
 



More information about the Schmitzm-commits mailing list