Mercurial > dive4elements > river
changeset 7722:8ca2c711a632
(issue1502) Allow annotation handling to be overwritten
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 20 Dec 2013 18:31:02 +0100 |
parents | 3c4a3426d5bf |
children | 272cbcd94688 |
files | artifacts/src/main/java/org/dive4elements/river/exports/XYChartGenerator.java |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/XYChartGenerator.java Fri Dec 20 16:49:50 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/XYChartGenerator.java Fri Dec 20 18:31:02 2013 +0100 @@ -151,8 +151,7 @@ //debugAxis(plot); // These have to go after the autozoom. - AnnotationHelper.addAnnotationsToRenderer(annotations, plot, - getChartSettings(), datasets); + addAnnotationsToRenderer(plot); // Add a logo (maybe). addLogo(plot); @@ -964,6 +963,9 @@ this.inverted = inverted; } - + protected void addAnnotationsToRenderer(XYPlot plot) { + AnnotationHelper.addAnnotationsToRenderer(annotations, plot, + getChartSettings(), datasets); + } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :