changeset 2634:fa015cf5c0af

Fixed duplicated legend entry for manual points. flys-artifacts/trunk@4256 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 18 Apr 2012 07:56:55 +0000
parents 894186b4c1d0
children 1b204ee4446b
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Apr 18 07:14:48 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Apr 18 07:56:55 2012 +0000
@@ -1,3 +1,8 @@
+2012-04-18  Raimund Renkert <raimund.renkert@intevation.de>
+
+	* src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
+	  Fixed duplicated legend entry for manual points.
+
 2012-04-18  Raimund Renkert <raimund.renkert@intevation.de>
 
 	Issue 494.
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java	Wed Apr 18 07:14:48 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java	Wed Apr 18 07:56:55 2012 +0000
@@ -532,7 +532,7 @@
         annotations.setTextAnnotations(xy);
 
         // Do not generate second legend entry. (null was passed for the aand before).
-        doAnnotations(annotations, aandf, theme, visible);
+        doAnnotations(annotations, null, theme, visible);
 
         addAxisDataset(tsc, axisIndex, visible);
     }

http://dive4elements.wald.intevation.org