Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java @ 2051:4ba5036109d2
Make use of user defined axes labels during chart creation.
flys-artifacts/trunk@3541 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 27 Dec 2011 07:52:25 +0000 |
parents | 3157a78e6494 |
children | c7f18fa0d685 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java Tue Dec 27 07:17:07 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java Tue Dec 27 07:52:25 2011 +0000 @@ -95,9 +95,6 @@ } - /** - * Add localized subtitle to chart. - */ @Override protected void addSubtitles(JFreeChart chart) { String subtitle = getChartSubtitle(); @@ -105,18 +102,14 @@ } - /** - * Get localized X Axis label. - */ - protected String getXAxisLabel() { + @Override + protected String getDefaultXAxisLabel() { return msg(I18N_XAXIS_LABEL, I18N_XAXIS_LABEL_DEFAULT); } - /** - * Get localized Y Axis label. - */ - protected String getYAxisLabel() { + @Override + protected String getDefaultYAxisLabel(int pos) { return msg(I18N_YAXIS_LABEL, I18N_YAXIS_LABEL_DEFAULT); }