comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/FlowDepthDevelopmentProcessor.java @ 9600:bf79a865f6df

Dont interpolate results in chart of flow depth developement.
author gernotbelger
date Tue, 12 Feb 2019 12:03:49 +0100
parents 08f46ccd37ba
children 1d4262a68f1f
comparison
equal deleted inserted replaced
9599:4c73fe16533d 9600:bf79a865f6df
60 60
61 public FlowDepthDevelopmentProcessor() { 61 public FlowDepthDevelopmentProcessor() {
62 super(I18N_AXIS_LABEL, HANDLED_FACET_TYPES); 62 super(I18N_AXIS_LABEL, HANDLED_FACET_TYPES);
63 } 63 }
64 64
65 protected SInfoResultType doGetType(final String facetName) { 65 private SInfoResultType doGetType(final String facetName) {
66 66
67 if (FACET_FLOW_DEPTH_DEVELOPMENT_FILTERED.contentEquals(facetName)) 67 if (FACET_FLOW_DEPTH_DEVELOPMENT_FILTERED.contentEquals(facetName))
68 return SInfoResultType.flowdepthDevelopment; 68 return SInfoResultType.flowdepthDevelopment;
69 if (FACET_FLOW_DEPTH_DEVELOPMENT_RAW.contentEquals(facetName)) 69 if (FACET_FLOW_DEPTH_DEVELOPMENT_RAW.contentEquals(facetName))
70 return SInfoResultType.flowdepthDevelopment; 70 return SInfoResultType.flowdepthDevelopment;
109 } 109 }
110 110
111 @Override 111 @Override
112 protected String generateSeries(final DiagramGenerator generator, final ArtifactAndFacet bundle, final ThemeDocument theme, final boolean visible) { 112 protected String generateSeries(final DiagramGenerator generator, final ArtifactAndFacet bundle, final ThemeDocument theme, final boolean visible) {
113 113
114 return buildSeriesForType(generator, bundle, theme, visible, doGetType(bundle.getFacetName()), null); 114 return buildSeriesForType(generator, bundle, theme, visible, doGetType(bundle.getFacetName()), GAP_DISTANCE);
115 } 115 }
116 } 116 }

http://dive4elements.wald.intevation.org