diff flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java @ 3409:97ad960f5579

Add subtitle to Fix W/Q chart and refactor addSubtitle() method(s) flys-artifacts/trunk@5062 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Thu, 19 Jul 2012 12:59:56 +0000
parents 4a70525c5b0d
children e74e707ff650
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Thu Jul 19 12:55:45 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Thu Jul 19 12:59:56 2012 +0000
@@ -21,12 +21,10 @@
 import java.util.List;
 
 import org.apache.log4j.Logger;
-import org.jfree.chart.JFreeChart;
 import org.jfree.chart.LegendItemCollection;
 import org.jfree.chart.annotations.XYBoxAnnotation;
 import org.jfree.chart.annotations.XYTextAnnotation;
 import org.jfree.chart.plot.XYPlot;
-import org.jfree.chart.title.TextTitle;
 import org.jfree.data.xy.XYSeries;
 import org.w3c.dom.Document;
 
@@ -128,12 +126,6 @@
     }
 
 
-    @Override
-    protected void addSubtitles(JFreeChart chart) {
-        String subtitle = getChartSubtitle();
-        chart.addSubtitle(new TextTitle(subtitle));
-    }
-
     /** Get color for hyk zones by their type (which is the name). */
     protected Paint colorForHYKZone(String zoneName) {
         if (zoneName.startsWith("R")) {

http://dive4elements.wald.intevation.org