changeset 2554:ee5eca3871cb

Apply legend specific settings (show/hide) in timeseries charts. flys-artifacts/trunk@4069 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 17 Feb 2012 07:49:41 +0000
parents c7b0dfa6a52c
children ba46af45b6e4
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Feb 17 07:45:27 2012 +0000
+++ b/flys-artifacts/ChangeLog	Fri Feb 17 07:49:41 2012 +0000
@@ -1,3 +1,10 @@
+2012-02-17  Ingo Weinzierl <ingo@intevation.de>
+
+	Part II/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
+
+	* src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
+	  Apply legend specific settings (show/hide).
+
 2012-02-17  Ingo Weinzierl <ingo@intevation.de>
 
 	Part I/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java	Fri Feb 17 07:45:27 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java	Fri Feb 17 07:49:41 2012 +0000
@@ -156,12 +156,10 @@
             getXAxisLabel(),
             getYAxisLabel(0),
             null,
-            true,
+            isLegendVisible(),
             false,
             false);
 
-        logger.warn("TODO: IMPLEMENT ME!");
-
         XYPlot plot = (XYPlot) chart.getPlot();
 
         chart.setBackgroundPaint(Color.WHITE);

http://dive4elements.wald.intevation.org