comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/FlowDepthDevelopmentProcessor.java @ 9123:1cc7653ca84f

Cleanup of ChartGenerator and ChartGenerator2 code. Put some of the copy/pasted code into a common abstraction.
author gernotbelger
date Tue, 05 Jun 2018 19:21:16 +0200
parents b194fa64506a
children 23945061daec
comparison
equal deleted inserted replaced
9122:b8e7f6becf78 9123:1cc7653ca84f
20 20
21 public final class FlowDepthDevelopmentProcessor extends AbstractSInfoLineProcessor<AbstractSInfoCalculationResult> { 21 public final class FlowDepthDevelopmentProcessor extends AbstractSInfoLineProcessor<AbstractSInfoCalculationResult> {
22 22
23 private static final String I18N_AXIS_LABEL = "sinfo.chart.flow_depth_development.section.yaxis.label"; 23 private static final String I18N_AXIS_LABEL = "sinfo.chart.flow_depth_development.section.yaxis.label";
24 24
25 private static final String SINFO_CHART_FLOW_DEPTH_DEVELOPMENT_YAXIS_LABEL = "sinfo.chart.flow_depth.yaxis.label"; 25 private static final String SINFO_CHART_FLOW_DEPTH_DEVELOPMENT_YAXIS_LABEL = "sinfo.chart.flow_depth_development.yaxis.label";
26 26
27 /* Theme name, usually defined in 'FacetTypes', but that is soooo bad dependencies... */ 27 /* Theme name, usually defined in 'FacetTypes', but that is soooo bad dependencies... */
28 // REMARK: these must end with 'filtered' so extra handling happens in chart: point are always recalculated, because 28 // REMARK: these must end with 'filtered' so extra handling happens in chart: point are always recalculated, because
29 // data changes depending on zoom state 29 // data changes depending on zoom state
30 public static final String FACET_FLOW_DEPTH_DEVELOPMENT_FILTERED = "sinfo_facet_flow_depth_development.filtered"; 30 public static final String FACET_FLOW_DEPTH_DEVELOPMENT_FILTERED = "sinfo_facet_flow_depth_development.filtered";

http://dive4elements.wald.intevation.org