changeset 6770:d87ead23e41f

issue1439: Use auto-gap detect when adding points to series for bed diff data.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 07 Aug 2013 11:04:12 +0200
parents 334db91c96dc
children 3808a1bc1cc5
files artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffHeightYearProcessor.java artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffYearProcessor.java
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }
--- 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);

http://dive4elements.wald.intevation.org