comparison artifacts/src/main/java/org/dive4elements/river/exports/TimeseriesChartGenerator.java @ 5864:f2e46a668fe6

River artifacts: Renamed FLYSAnnotation to RiverAnnotation.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 28 Apr 2013 15:04:44 +0200
parents 4897a58c8746
children af13ceeba52a
comparison
equal deleted inserted replaced
5863:4897a58c8746 5864:f2e46a668fe6
11 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; 11 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet;
12 import org.dive4elements.river.artifacts.resources.Resources; 12 import org.dive4elements.river.artifacts.resources.Resources;
13 import org.dive4elements.river.jfree.Bounds; 13 import org.dive4elements.river.jfree.Bounds;
14 import org.dive4elements.river.jfree.CollisionFreeXYTextAnnotation; 14 import org.dive4elements.river.jfree.CollisionFreeXYTextAnnotation;
15 import org.dive4elements.river.jfree.DoubleBounds; 15 import org.dive4elements.river.jfree.DoubleBounds;
16 import org.dive4elements.river.jfree.FLYSAnnotation; 16 import org.dive4elements.river.jfree.RiverAnnotation;
17 import org.dive4elements.river.jfree.StyledTimeSeries; 17 import org.dive4elements.river.jfree.StyledTimeSeries;
18 import org.dive4elements.river.jfree.TimeBounds; 18 import org.dive4elements.river.jfree.TimeBounds;
19 19
20 import java.awt.Color; 20 import java.awt.Color;
21 import java.awt.Font; 21 import java.awt.Font;
736 double y = tsc.getYValue(0, i); 736 double y = tsc.getYValue(0, i);
737 xy.add(new CollisionFreeXYTextAnnotation( 737 xy.add(new CollisionFreeXYTextAnnotation(
738 names.get(series.getTimePeriod(i)), x, y)); 738 names.get(series.getTimePeriod(i)), x, y));
739 logger.debug("doPoints(): x=" + x + " y=" + y); 739 logger.debug("doPoints(): x=" + x + " y=" + y);
740 } 740 }
741 FLYSAnnotation annotations = 741 RiverAnnotation annotations =
742 new FLYSAnnotation(null, null, null, theme); 742 new RiverAnnotation(null, null, null, theme);
743 annotations.setTextAnnotations(xy); 743 annotations.setTextAnnotations(xy);
744 744
745 // Do not generate second legend entry. (null was passed for the aand before). 745 // Do not generate second legend entry. (null was passed for the aand before).
746 doAnnotations(annotations, null, theme, visible); 746 doAnnotations(annotations, null, theme, visible);
747 747

http://dive4elements.wald.intevation.org