comparison flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java @ 2422:44dc117aa2b7

Picked rev 4058,4063,4065,4068,4069 from trunk. flys-artifacts/tags/2.6.1@4077 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 17 Feb 2012 11:29:41 +0000
parents f55984858952
children 8490faba00e7
comparison
equal deleted inserted replaced
2421:59047dfed8be 2422:44dc117aa2b7
154 JFreeChart chart = ChartFactory.createTimeSeriesChart( 154 JFreeChart chart = ChartFactory.createTimeSeriesChart(
155 getChartTitle(), 155 getChartTitle(),
156 getXAxisLabel(), 156 getXAxisLabel(),
157 getYAxisLabel(0), 157 getYAxisLabel(0),
158 null, 158 null,
159 true, 159 isLegendVisible(),
160 false, 160 false,
161 false); 161 false);
162 162
163 logger.warn("TODO: IMPLEMENT ME!");
164
165 XYPlot plot = (XYPlot) chart.getPlot(); 163 XYPlot plot = (XYPlot) chart.getPlot();
166 164
167 chart.setBackgroundPaint(Color.WHITE); 165 chart.setBackgroundPaint(Color.WHITE);
168 plot.setBackgroundPaint(Color.WHITE); 166 plot.setBackgroundPaint(Color.WHITE);
169 167
170 addSubtitles(chart); 168 addSubtitles(chart);
169 adjustPlot(plot);
171 addDatasets(plot); 170 addDatasets(plot);
172 171
173 adaptZoom(plot); 172 adaptZoom(plot);
174 173
175 return chart; 174 return chart;

http://dive4elements.wald.intevation.org