comparison artifacts/src/main/java/org/dive4elements/river/exports/XYChartGenerator.java @ 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 3c7471b929d1
children e4606eae8ea5
comparison
equal deleted inserted replaced
7721:3c4a3426d5bf 7722:8ca2c711a632
149 } 149 }
150 150
151 //debugAxis(plot); 151 //debugAxis(plot);
152 152
153 // These have to go after the autozoom. 153 // These have to go after the autozoom.
154 AnnotationHelper.addAnnotationsToRenderer(annotations, plot, 154 addAnnotationsToRenderer(plot);
155 getChartSettings(), datasets);
156 155
157 // Add a logo (maybe). 156 // Add a logo (maybe).
158 addLogo(plot); 157 addLogo(plot);
159 158
160 aggregateLegendEntries(plot); 159 aggregateLegendEntries(plot);
962 /** Set to true if x axis has been inverted. */ 961 /** Set to true if x axis has been inverted. */
963 public void setInverted(boolean inverted) { 962 public void setInverted(boolean inverted) {
964 this.inverted = inverted; 963 this.inverted = inverted;
965 } 964 }
966 965
967 966 protected void addAnnotationsToRenderer(XYPlot plot) {
967 AnnotationHelper.addAnnotationsToRenderer(annotations, plot,
968 getChartSettings(), datasets);
969 }
968 } 970 }
969 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 971 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org