changeset 3400:2eea676ba48f

smaller bandwidth fixes. flys-artifacts/trunk@5041 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 18 Jul 2012 13:11:41 +0000
parents e08a6352fe24
children 086326be721c
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Jul 18 10:02:37 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Jul 18 13:11:41 2012 +0000
@@ -1,3 +1,9 @@
+2012-07-18	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
+	  Use bandwidth parameter for width of band, adjusted name to be
+	  displayed in legend.
+
 2012-07-18	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* doc/conf/default-themes.xml,
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java	Wed Jul 18 10:02:37 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java	Wed Jul 18 13:11:41 2012 +0000
@@ -438,9 +438,9 @@
             XYSeries seriesDown = new StyledXYSeries(
                 "band " + aandf.getFacetDescription(), false, theme);
             XYSeries seriesUp = new StyledXYSeries(
-                aandf.getFacetDescription()+"-", false, theme);
-            StyledSeriesBuilder.addUpperBand(seriesUp, wkms, 5d);
-            StyledSeriesBuilder.addLowerBand(seriesDown, wkms, 5d);
+                aandf.getFacetDescription()+"+/-"+bandWidth, false, theme);
+            StyledSeriesBuilder.addUpperBand(seriesUp, wkms, bandWidth);
+            StyledSeriesBuilder.addLowerBand(seriesDown, wkms, bandWidth);
 
             StyledAreaSeriesCollection area = new StyledAreaSeriesCollection(theme);
             area.addSeries(seriesUp);

http://dive4elements.wald.intevation.org