Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 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 | 6aeb71517136 |
children | 1fcaeced48f2 |
comparison
equal
deleted
inserted
replaced
2299:094b4abde10e | 2300:a3dd443976bc |
---|---|
666 textStyle.apply(textAnnotation); | 666 textStyle.apply(textAnnotation); |
667 } | 667 } |
668 | 668 |
669 // Add the Annotations to renderer. | 669 // Add the Annotations to renderer. |
670 plot.getRenderer(rendererIndex).addAnnotation(textAnnotation, | 670 plot.getRenderer(rendererIndex).addAnnotation(textAnnotation, |
671 org.jfree.ui.Layer.BACKGROUND); | 671 org.jfree.ui.Layer.FOREGROUND); |
672 plot.getRenderer(rendererIndex).addAnnotation(lineAnnotation, | 672 plot.getRenderer(rendererIndex).addAnnotation(lineAnnotation, |
673 org.jfree.ui.Layer.BACKGROUND); | 673 org.jfree.ui.Layer.FOREGROUND); |
674 } | 674 } |
675 | 675 |
676 | 676 |
677 /** Add annotations (Sticky, Text and hyk zones). */ | 677 /** Add annotations (Sticky, Text and hyk zones). */ |
678 public void addAnnotationsToRenderer(XYPlot plot) { | 678 public void addAnnotationsToRenderer(XYPlot plot) { |