changeset 3640:1d2856de489d

issue820: changed label for middle height/depth. flys-artifacts/trunk@5351 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 04 Sep 2012 07:16:21 +0000
parents 695e8005e199
children 1dc904370a64
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Mon Sep 03 13:10:41 2012 +0000
+++ b/flys-artifacts/ChangeLog	Tue Sep 04 07:16:21 2012 +0000
@@ -1,3 +1,10 @@
+2012-09-03	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Fix for issue820.
+
+	* src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
+	  Changed label for middle height/depth.
+
 2012-09-03	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/ChartGenerator.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Mon Sep 03 13:10:41 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Tue Sep 04 07:16:21 2012 +0000
@@ -348,7 +348,7 @@
         }
         if (ThemeUtil.parseShowMiddleHeight(theme) && lines.width != 0) {
             NumberFormat nf = Formatter.getMeterFormat(this.context);
-            String labelAdd = "H=" + nf.format(lines.area / lines.width) + "m";
+            String labelAdd = "T=" + nf.format(lines.area / lines.width) + "m";
                 // : " + lines.area + "/" + lines.width);
             if (series.getLabel().length() == 0) {
                series.setLabel(labelAdd);

http://dive4elements.wald.intevation.org