Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java @ 2554:ee5eca3871cb
Apply legend specific settings (show/hide) in timeseries charts.
flys-artifacts/trunk@4069 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 17 Feb 2012 07:49:41 +0000 |
parents | c7b0dfa6a52c |
children | 8cd6358eb7f8 |
comparison
equal
deleted
inserted
replaced
2553:c7b0dfa6a52c | 2554:ee5eca3871cb |
---|---|
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 | |
163 logger.warn("TODO: IMPLEMENT ME!"); | |
164 | 162 |
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); |