[PATCH 8 of 8] issue1439: Use auto-gap detect when adding points to series for bed diff data

Wald Commits scm-commit at wald.intevation.org
Wed Aug 7 10:55:33 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1375866252 -7200
# Node ID d87ead23e41f7837587805cf0289050b1a5573d9
# Parent  334db91c96dcc2527b40b30ee52f9e206dfb252b
issue1439: Use auto-gap detect when adding points to series for bed diff data.

diff -r 334db91c96dc -r d87ead23e41f artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffHeightYearProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffHeightYearProcessor.java	Wed Aug 07 11:02:43 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffHeightYearProcessor.java	Wed Aug 07 11:04:12 2013 +0200
@@ -62,7 +62,7 @@
         int axidx) {
 
         XYSeries series = new StyledXYSeries(aandf.getFacetDescription(), theme);
-        StyledSeriesBuilder.addPoints(series, data.getHeightPerYearData(), true);
+        StyledSeriesBuilder.addPoints(series, data.getHeightPerYearData(), false, 0.15d);
 
         generator.addAxisSeries(series, axidx, visible);
     }
diff -r 334db91c96dc -r d87ead23e41f artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffYearProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffYearProcessor.java	Wed Aug 07 11:02:43 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffYearProcessor.java	Wed Aug 07 11:04:12 2013 +0200
@@ -71,10 +71,10 @@
 
         XYSeries series = new StyledXYSeries(bundle.getFacetDescription(), attr);
         if (idx == 0) {
-            StyledSeriesBuilder.addPoints(series, data.getHeights1Data(), true);
+            StyledSeriesBuilder.addPoints(series, data.getHeights1Data(), false, 0.15d);
         }
         else {
-            StyledSeriesBuilder.addPoints(series, data.getHeights2Data(), true);
+            StyledSeriesBuilder.addPoints(series, data.getHeights2Data(), false, 0.15d);
         }
 
         generator.addAxisSeries(series, axidx, visible);


More information about the Dive4elements-commits mailing list