changeset 6571:4923bcf94581

BedDifferenceYearGenerator: Remove stray code, fix axis, added vimline.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 15 Jul 2013 14:48:00 +0200
parents 6435b3d7fb52
children d99575a659af
files artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceYearGenerator.java
diffstat 1 files changed, 2 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceYearGenerator.java	Mon Jul 15 14:42:09 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceYearGenerator.java	Mon Jul 15 14:48:00 2013 +0200
@@ -138,7 +138,7 @@
                  visible);
         }
         else if (bdyProcessor.canHandle(name)) {
-            bdyProcessor.doOut(this, bundle, attr, visible, YAXIS.D.idx);
+            bdyProcessor.doOut(this, bundle, attr, visible, YAXIS.H.idx);
         }
         else if (bdhyProcessor.canHandle(name)) {
             bdhyProcessor.doOut(this, bundle, attr, visible, YAXIS.D.idx);
@@ -170,24 +170,6 @@
         addAxisSeries(series, YAXIS.M.idx, visible);
     }
 
-    private void doBedDifferenceHeightsOut(
-        BedDiffYearResult data,
-        ArtifactAndFacet bundle,
-        Document attr,
-        boolean visible,
-        int idx) {
-         logger.debug("doBedDifferenceHeightsOut()");
-
-        XYSeries series = new StyledXYSeries(bundle.getFacetDescription(), attr);
-        if (idx == 0) {
-            StyledSeriesBuilder.addPoints(series, data.getHeights1Data(), true);
-        }
-        else {
-            StyledSeriesBuilder.addPoints(series, data.getHeights2Data(), true);
-        }
-
-        addAxisSeries(series, YAXIS.H.idx, visible);
-    }
 
     @Override
     protected String getDefaultChartTitle() {
@@ -260,3 +242,4 @@
         }
     }
 }
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org