Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java @ 1989:156304542edf
Finished the ChartSection part of the chart Settings returned by the XYChartGenerator.
flys-artifacts/trunk@3423 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 15 Dec 2011 12:05:06 +0000 |
parents | 590d9bc88ff5 |
children | e71719483546 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java Thu Dec 15 10:09:02 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java Thu Dec 15 12:05:06 2011 +0000 @@ -52,6 +52,12 @@ } + @Override + protected String getChartSubtitle() { + return getRiverName(); + } + + /** * Gets key to look up internationalized String for the charts subtitle. * @return key to look up translated subtitle. @@ -69,14 +75,7 @@ */ @Override protected void addSubtitles(JFreeChart chart) { - - // TODO i18n - /* - Object[] args = new Object[] { - getRiverName() - }; - */ - String subtitle = getRiverName(); + String subtitle = getChartSubtitle(); chart.addSubtitle(new TextTitle(subtitle)); }