Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/XYChartGenerator.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 |
---|---|
42 | 42 |
43 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; | 43 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; |
44 import org.dive4elements.river.jfree.Bounds; | 44 import org.dive4elements.river.jfree.Bounds; |
45 import org.dive4elements.river.jfree.CollisionFreeXYTextAnnotation; | 45 import org.dive4elements.river.jfree.CollisionFreeXYTextAnnotation; |
46 import org.dive4elements.river.jfree.DoubleBounds; | 46 import org.dive4elements.river.jfree.DoubleBounds; |
47 import org.dive4elements.river.jfree.FLYSAnnotation; | 47 import org.dive4elements.river.jfree.RiverAnnotation; |
48 import org.dive4elements.river.jfree.StyledAreaSeriesCollection; | 48 import org.dive4elements.river.jfree.StyledAreaSeriesCollection; |
49 import org.dive4elements.river.jfree.StyledXYSeries; | 49 import org.dive4elements.river.jfree.StyledXYSeries; |
50 | 50 |
51 | 51 |
52 /** | 52 /** |
1019 } | 1019 } |
1020 catch(JSONException e){ | 1020 catch(JSONException e){ |
1021 logger.error("Could not decode json."); | 1021 logger.error("Could not decode json."); |
1022 } | 1022 } |
1023 | 1023 |
1024 FLYSAnnotation annotations = new FLYSAnnotation(null, null, null, theme); | 1024 RiverAnnotation annotations = new RiverAnnotation(null, null, null, theme); |
1025 annotations.setTextAnnotations(xy); | 1025 annotations.setTextAnnotations(xy); |
1026 | 1026 |
1027 // Do not generate second legend entry. (null was passed for the aand before). | 1027 // Do not generate second legend entry. (null was passed for the aand before). |
1028 doAnnotations(annotations, null, theme, visible); | 1028 doAnnotations(annotations, null, theme, visible); |
1029 addAxisSeries(series, axisIndex, visible); | 1029 addAxisSeries(series, axisIndex, visible); |