# HG changeset patch # User Ingo Weinzierl # Date 1328701634 0 # Node ID a3dd443976bca741c988415660fdad9ab4695c79 # Parent 094b4abde10eb6bbc45b3ed6bceb199c2c85c8be Put line and text annotations placed at x and y axes into foreground. flys-artifacts/trunk@3966 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 094b4abde10e -r a3dd443976bc flys-artifacts/ChangeLog --- 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 + + * 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 Partial Fix flys/issue474. diff -r 094b4abde10e -r a3dd443976bc flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java --- 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); }