changeset 2764:f8a1a8af338e

Issue 667. Added data to jfreechart data source in waterlevel exporter. flys-artifacts/trunk@4501 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 24 May 2012 10:45:12 +0000
parents 2f7fed1eb4bf
children 79f6d0802b06
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu May 24 08:00:14 2012 +0000
+++ b/flys-artifacts/ChangeLog	Thu May 24 10:45:12 2012 +0000
@@ -1,3 +1,10 @@
+2012-05-24  Raimund Renkert <raimund.renkert@intevation.de>
+
+	Issue 667.
+
+	* src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
+	  Added data to jfreechart data source.
+
 2012-05-24  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java	Thu May 24 08:00:14 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java	Thu May 24 10:45:12 2012 +0000
@@ -698,7 +698,11 @@
                     kmf.format(result[2]),
                     wf.format(result[0]),
                     qf.format(result[1]),
-                    FLYSUtils.getLocationDescription(flys, result[2])
+                    desc,
+                    FLYSUtils.getLocationDescription(flys, result[2]),
+                    result[2] >= a && result[2] <= b
+                        ? gaugeName
+                        : notinrange
                 });
             }
         }

http://dive4elements.wald.intevation.org