Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/FlowVelocityGenerator.java @ 6517:ef3b02034f6a
More consistent labeling for longitudinal section diagrams
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 28 Jun 2013 21:05:52 +0200 |
parents | a0078e5e3b39 |
children | 769d9ec8abac 23ab795f2f0e |
comparison
equal
deleted
inserted
replaced
6512:c28f13c80979 | 6517:ef3b02034f6a |
---|---|
40 * An OutGenerator that generates flow velocity curves. | 40 * An OutGenerator that generates flow velocity curves. |
41 * | 41 * |
42 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 42 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
43 */ | 43 */ |
44 public class FlowVelocityGenerator | 44 public class FlowVelocityGenerator |
45 extends XYChartGenerator | 45 extends LongitudinalSectionGenerator |
46 implements FacetTypes | 46 implements FacetTypes |
47 { | 47 { |
48 public enum YAXIS { | 48 public enum YAXIS { |
49 V(0), | 49 V(0), |
50 T(1), | 50 T(1), |
83 * short subtitles. | 83 * short subtitles. |
84 */ | 84 */ |
85 public static final String I18N_CHART_SHORT_SUBTITLE = | 85 public static final String I18N_CHART_SHORT_SUBTITLE = |
86 "chart.flow_velocity.section.shortsubtitle"; | 86 "chart.flow_velocity.section.shortsubtitle"; |
87 | 87 |
88 public static final String I18N_XAXIS_LABEL = | |
89 "chart.flow_velocity.section.xaxis.label"; | |
90 | |
91 public static final String I18N_YAXIS_LABEL = | 88 public static final String I18N_YAXIS_LABEL = |
92 "chart.flow_velocity.section.yaxis.label"; | 89 "chart.flow_velocity.section.yaxis.label"; |
93 | 90 |
94 public static final String I18N_2YAXIS_LABEL = | 91 public static final String I18N_2YAXIS_LABEL = |
95 "chart.flow_velocity.section.yaxis.second.label"; | 92 "chart.flow_velocity.section.yaxis.second.label"; |
97 public static final String I18N_3YAXIS_LABEL = | 94 public static final String I18N_3YAXIS_LABEL = |
98 "chart.flow_velocity.section.yaxis.third.label"; | 95 "chart.flow_velocity.section.yaxis.third.label"; |
99 public static final String I18N_4YAXIS_LABEL = "chart.bedquality.yaxis.label.diameter"; | 96 public static final String I18N_4YAXIS_LABEL = "chart.bedquality.yaxis.label.diameter"; |
100 | 97 |
101 public static final String I18N_CHART_TITLE_DEFAULT = "Geschwindigkeit- und Schubspannung"; | 98 public static final String I18N_CHART_TITLE_DEFAULT = "Geschwindigkeit- und Schubspannung"; |
102 public static final String I18N_XAXIS_LABEL_DEFAULT = "km"; | |
103 public static final String I18N_YAXIS_LABEL_DEFAULT = "Geschwindigkeit v [m/s]"; | 99 public static final String I18N_YAXIS_LABEL_DEFAULT = "Geschwindigkeit v [m/s]"; |
104 public static final String I18N_2YAXIS_LABEL_DEFAULT = "Schubspannung Tau [N]"; | 100 public static final String I18N_2YAXIS_LABEL_DEFAULT = "Schubspannung Tau [N]"; |
105 public static final String I18N_3YAXIS_LABEL_DEFAULT = "Q [m³/s]"; | 101 public static final String I18N_3YAXIS_LABEL_DEFAULT = "Q [m³/s]"; |
106 public static final String I18N_4YAXIS_LABEL_DEFAULT = "Durchmesser [mm]"; | 102 public static final String I18N_4YAXIS_LABEL_DEFAULT = "Durchmesser [mm]"; |
107 | 103 |