[PATCH] Dont interpolate results in chart of flow depth developement

Wald Commits scm-commit at wald.intevation.org
Tue Feb 12 12:03:57 CET 2019


# HG changeset patch
# User gernotbelger
# Date 1549969429 -3600
# Node ID bf79a865f6dfed148149499d6b737cbdd15f2b72
# Parent  4c73fe16533dd656783293c5a48a796b4d682e65
Dont interpolate results in chart of flow depth developement.

diff -r 4c73fe16533d -r bf79a865f6df artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/FlowDepthDevelopmentProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/FlowDepthDevelopmentProcessor.java	Tue Feb 12 10:34:33 2019 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/FlowDepthDevelopmentProcessor.java	Tue Feb 12 12:03:49 2019 +0100
@@ -62,7 +62,7 @@
         super(I18N_AXIS_LABEL, HANDLED_FACET_TYPES);
     }
 
-    protected SInfoResultType doGetType(final String facetName) {
+    private SInfoResultType doGetType(final String facetName) {
 
         if (FACET_FLOW_DEPTH_DEVELOPMENT_FILTERED.contentEquals(facetName))
             return SInfoResultType.flowdepthDevelopment;
@@ -111,6 +111,6 @@
     @Override
     protected String generateSeries(final DiagramGenerator generator, final ArtifactAndFacet bundle, final ThemeDocument theme, final boolean visible) {
 
-        return buildSeriesForType(generator, bundle, theme, visible, doGetType(bundle.getFacetName()), null);
+        return buildSeriesForType(generator, bundle, theme, visible, doGetType(bundle.getFacetName()), GAP_DISTANCE);
     }
 }
\ No newline at end of file


More information about the Dive4Elements-commits mailing list