comparison flys-artifacts/src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.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 65f9d707caff
children 3157a78e6494
comparison
equal deleted inserted replaced
1999:02ce03329ef5 2000:e71719483546
67 public DischargeCurveGenerator() { 67 public DischargeCurveGenerator() {
68 super(); 68 super();
69 } 69 }
70 70
71 71
72 @Override
73 protected YAxisWalker getYAxisWalker() {
74 return new YAxisWalker() {
75 @Override
76 public int length() {
77 return YAXIS.values().length;
78 }
79
80 @Override
81 public String getId(int idx) {
82 YAXIS[] yaxes = YAXIS.values();
83 return yaxes[idx].toString();
84 }
85 };
86 }
87
88
72 protected String getChartTitle() { 89 protected String getChartTitle() {
73 return msg(I18N_CHART_TITLE, I18N_CHART_TITLE_DEFAULT); 90 return msg(I18N_CHART_TITLE, I18N_CHART_TITLE_DEFAULT);
74 } 91 }
75 92
76 93

http://dive4elements.wald.intevation.org