changeset 9600:bf79a865f6df

Dont interpolate results in chart of flow depth developement.
author gernotbelger
date Tue, 12 Feb 2019 12:03:49 +0100 (2019-02-12)
parents 4c73fe16533d
children 8f59aa01c22a
files artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/FlowDepthDevelopmentProcessor.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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

http://dive4elements.wald.intevation.org