# HG changeset patch # User Andre Heinecke # Date 1387560662 -3600 # Node ID 8ca2c711a632ea55ad2f10e402e1a731a6038bef # Parent 3c4a3426d5bfad273623d08422f1e9a7515582f9 (issue1502) Allow annotation handling to be overwritten diff -r 3c4a3426d5bf -r 8ca2c711a632 artifacts/src/main/java/org/dive4elements/river/exports/XYChartGenerator.java --- 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 :