Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java @ 2000:e71719483546
Improved the ChartSettings - now, each chart writes proper AxisSections into the ChartSettings.
flys-artifacts/trunk@3441 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 16 Dec 2011 13:37:58 +0000 |
parents | 156304542edf |
children | 3157a78e6494 |
comparison
equal
deleted
inserted
replaced
1999:02ce03329ef5 | 2000:e71719483546 |
---|---|
38 /** Default for internationalized title (when no translation found). */ | 38 /** Default for internationalized title (when no translation found). */ |
39 public final static String I18N_WDIFF_TITLE_DEFAULT = "Differences"; | 39 public final static String I18N_WDIFF_TITLE_DEFAULT = "Differences"; |
40 | 40 |
41 public final static String I18N_WDIFF_SUBTITLE = | 41 public final static String I18N_WDIFF_SUBTITLE = |
42 "chart.w_differences.subtitle"; | 42 "chart.w_differences.subtitle"; |
43 | |
44 | |
45 @Override | |
46 protected YAxisWalker getYAxisWalker() { | |
47 return new YAxisWalker() { | |
48 @Override | |
49 public int length() { | |
50 return YAXIS.values().length; | |
51 } | |
52 | |
53 @Override | |
54 public String getId(int idx) { | |
55 YAXIS[] yaxes = YAXIS.values(); | |
56 return yaxes[idx].toString(); | |
57 } | |
58 }; | |
59 } | |
43 | 60 |
44 | 61 |
45 /** | 62 /** |
46 * Get internationalized title for chart. | 63 * Get internationalized title for chart. |
47 * @return internationalized Chart title. | 64 * @return internationalized Chart title. |