comparison flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java @ 1077:3067e700fc13

Minor cosmetics and docs. flys-artifacts/trunk@2574 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 25 Aug 2011 10:34:20 +0000
parents c3902ff2d3bd
children 73794985a899
comparison
equal deleted inserted replaced
1076:6ada2b84ddf8 1077:3067e700fc13
10 import org.jfree.chart.axis.ValueAxis; 10 import org.jfree.chart.axis.ValueAxis;
11 import org.jfree.chart.plot.XYPlot; 11 import org.jfree.chart.plot.XYPlot;
12 import org.jfree.chart.title.TextTitle; 12 import org.jfree.chart.title.TextTitle;
13 import org.jfree.data.Range; 13 import org.jfree.data.Range;
14 import org.jfree.data.xy.XYSeries; 14 import org.jfree.data.xy.XYSeries;
15 import org.jfree.data.xy.XYSeriesCollection;
15 import org.jfree.ui.TextAnchor; 16 import org.jfree.ui.TextAnchor;
16 import org.jfree.data.xy.XYSeriesCollection;
17 17
18 import org.w3c.dom.Document; 18 import org.w3c.dom.Document;
19 19
20 import de.intevation.artifacts.Artifact; 20 import de.intevation.artifacts.Artifact;
21 21
248 */ 248 */
249 protected void doAnnotationsOut(Object o, Document theme) { 249 protected void doAnnotationsOut(Object o, Document theme) {
250 logger.debug("LongitudinalSectionGenerator.doAnnotationsOut"); 250 logger.debug("LongitudinalSectionGenerator.doAnnotationsOut");
251 this.annotations = (List<Annotation>) o; 251 this.annotations = (List<Annotation>) o;
252 252
253 // Add (empty) pseudo series. 253 // Add (empty) pseudo series to have legend entry for annotations.
254 if (pseudoAnnotationData == null) { 254 if (pseudoAnnotationData == null) {
255 pseudoAnnotationData = new XYSeriesCollection(); 255 pseudoAnnotationData = new XYSeriesCollection();
256 } 256 }
257 // Localized legend. 257 // Localized legend.
258 Object[] args = new Object[] {getRiverName()}; 258 Object[] args = new Object[] {getRiverName()};

http://dive4elements.wald.intevation.org