Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/MiddleBedHeightGenerator.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 | 641fd5bd6965 |
children | 769d9ec8abac 23ab795f2f0e |
comparison
equal
deleted
inserted
replaced
6512:c28f13c80979 | 6517:ef3b02034f6a |
---|---|
29 * An OutGenerator that generates middle bed height charts. | 29 * An OutGenerator that generates middle bed height charts. |
30 * | 30 * |
31 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 31 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
32 */ | 32 */ |
33 public class MiddleBedHeightGenerator | 33 public class MiddleBedHeightGenerator |
34 extends XYChartGenerator | 34 extends LongitudinalSectionGenerator |
35 implements FacetTypes | 35 implements FacetTypes |
36 { | 36 { |
37 public enum YAXIS { | 37 public enum YAXIS { |
38 H(0), W(1), P(2); | 38 H(0), W(1), P(2); |
39 protected int idx; | 39 protected int idx; |
56 "chart.bedheight_middle.section.subtitle"; | 56 "chart.bedheight_middle.section.subtitle"; |
57 | 57 |
58 public static final String I18N_CHART_SHORT_SUBTITLE = | 58 public static final String I18N_CHART_SHORT_SUBTITLE = |
59 "chart.bedheight_middle.section.shortsubtitle"; | 59 "chart.bedheight_middle.section.shortsubtitle"; |
60 | 60 |
61 public static final String I18N_XAXIS_LABEL = | |
62 "chart.bedheight_middle.section.xaxis.label"; | |
63 | |
64 public static final String I18N_YAXIS_LABEL = | 61 public static final String I18N_YAXIS_LABEL = |
65 "chart.bedheight_middle.section.yaxis.label"; | 62 "chart.bedheight_middle.section.yaxis.label"; |
66 | 63 |
67 public static final String I18N_CHART_TITLE_DEFAULT = "Mittlere Sohlhöhe"; | 64 public static final String I18N_CHART_TITLE_DEFAULT = "Mittlere Sohlhöhe"; |
68 public static final String I18N_XAXIS_LABEL_DEFAULT = "km"; | |
69 public static final String I18N_YAXIS_LABEL_DEFAULT = "mittlere Sohlhöhen [müNN]"; | 65 public static final String I18N_YAXIS_LABEL_DEFAULT = "mittlere Sohlhöhen [müNN]"; |
70 public static final String I18N_W_YAXIS_LABEL = | 66 public static final String I18N_W_YAXIS_LABEL = |
71 "chart.longitudinal.section.yaxis.label"; | 67 "chart.longitudinal.section.yaxis.label"; |
72 public static final String I18N_W_YAXIS_LABEL_DEFAULT = "W [NN + m]"; | 68 public static final String I18N_W_YAXIS_LABEL_DEFAULT = "W [NN + m]"; |
73 public static final String I18N_P_YAXIS_LABEL_DEFAULT = "Gepeilte Breite [m]"; | 69 public static final String I18N_P_YAXIS_LABEL_DEFAULT = "Gepeilte Breite [m]"; |