changeset 2300:a3dd443976bc

Put line and text annotations placed at x and y axes into foreground. flys-artifacts/trunk@3966 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 08 Feb 2012 11:47:14 +0000
parents 094b4abde10e
children bc23341bf322
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Feb 08 11:32:07 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Feb 08 11:47:14 2012 +0000
@@ -1,3 +1,8 @@
+2012-02-08  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Let text
+	  and line annotations placed at x or y axes always be in foreground.
+
 2012-02-08  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Partial Fix flys/issue474.
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java	Wed Feb 08 11:32:07 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java	Wed Feb 08 11:47:14 2012 +0000
@@ -668,9 +668,9 @@
 
         // Add the Annotations to renderer.
         plot.getRenderer(rendererIndex).addAnnotation(textAnnotation,
-            org.jfree.ui.Layer.BACKGROUND);
+            org.jfree.ui.Layer.FOREGROUND);
         plot.getRenderer(rendererIndex).addAnnotation(lineAnnotation,
-            org.jfree.ui.Layer.BACKGROUND);
+            org.jfree.ui.Layer.FOREGROUND);
     }
 
 

http://dive4elements.wald.intevation.org