changeset 535:a162793b6053

Solved issue158. Added labels to 'Profilschnitte'. gnv-artifacts/trunk@633 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 26 Jan 2010 17:52:10 +0000
parents 92d7a8cd1ef1
children f1dc3c2f9be7
files gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java
diffstat 2 files changed, 10 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Tue Jan 26 14:19:59 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Tue Jan 26 17:52:10 2010 +0000
@@ -1,3 +1,11 @@
+2010-01-26  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	  Issue158
+
+	* src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java:
+	  Replaced old way to create ChartLabel objects with a method call
+	  'createChartLabels()'.
+
 2010-01-26  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	* src/main/java/de/intevation/gnv/chart/VerticalCrossSectionChart.java:
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java	Tue Jan 26 14:19:59 2010 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java	Tue Jan 26 17:52:10 2010 +0000
@@ -296,15 +296,7 @@
                     getCleanedParameters(uuid),
                     getMeasurements(uuid),
                     getDates(uuid),
-                    new ChartLabels(
-                        createChartTitle(locale, uuid),
-                        createChartSubtitle(locale, uuid),
-                        RessourceFactory.getInstance().getRessource(
-                            locale,
-                            domainLable,
-                            domainLable
-                        )
-                    ),
+                    createChartLabels(locale, uuid),
                     uuid,
                     "A4",
                     true,
@@ -332,15 +324,7 @@
                     getCleanedParameters(uuid),
                     getMeasurements(uuid),
                     getDates(uuid),
-                    new ChartLabels(
-                        createChartTitle(locale, uuid),
-                        createChartSubtitle(locale, uuid),
-                        RessourceFactory.getInstance().getRessource(
-                            locale,
-                            domainLable,
-                            domainLable
-                        )
-                    ),
+                    createChartLabels(locale, uuid),
                     uuid,
                     locale,
                     chartWidth,

http://dive4elements.wald.intevation.org