comparison flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 3079:8ad8a227d983

Added model classes for SQ calculation; generate fake results and improved the SQRelationGenerator which now draws the outliers. flys-artifacts/trunk@4675 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 15 Jun 2012 12:23:08 +0000
parents 5642a83420f2
children 4a76da133144
comparison
equal deleted inserted replaced
3078:0e0efd1acb4f 3079:8ad8a227d983
225 isLegendVisible(), 225 isLegendVisible(),
226 false, 226 false,
227 false); 227 false);
228 228
229 XYPlot plot = (XYPlot) chart.getPlot(); 229 XYPlot plot = (XYPlot) chart.getPlot();
230 plot.setDomainAxis(createXAxis(getXAxisLabel()));
231
230 chart.setBackgroundPaint(Color.WHITE); 232 chart.setBackgroundPaint(Color.WHITE);
231 plot.setBackgroundPaint(Color.WHITE); 233 plot.setBackgroundPaint(Color.WHITE);
232 addSubtitles(chart); 234 addSubtitles(chart);
233 adjustPlot(plot); 235 adjustPlot(plot);
234 236
253 addAnnotationsToRenderer(plot); 255 addAnnotationsToRenderer(plot);
254 256
255 //aggregateLegendEntries(plot); 257 //aggregateLegendEntries(plot);
256 258
257 return chart; 259 return chart;
260 }
261
262
263 protected NumberAxis createXAxis(String label) {
264 return new NumberAxis(label);
258 } 265 }
259 266
260 267
261 @Override 268 @Override
262 protected Series getSeriesOf(XYDataset dataset, int idx) { 269 protected Series getSeriesOf(XYDataset dataset, int idx) {

http://dive4elements.wald.intevation.org