comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractXYLineChart.java @ 815:22c18083225e

Removed compiler warnings while JavaDoc generation. gnv-artifacts/trunk@900 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 12 Apr 2010 06:59:33 +0000
parents e8a9e84a0328
children 5207d09e4af6
comparison
equal deleted inserted replaced
814:9d427dd2a96a 815:22c18083225e
68 */ 68 */
69 private static Logger log = Logger.getLogger(AbstractXYLineChart.class); 69 private static Logger log = Logger.getLogger(AbstractXYLineChart.class);
70 70
71 /** 71 /**
72 * Field of supported colors used for lines and data points in charts. 72 * Field of supported colors used for lines and data points in charts.
73 * Colors are: {@value}.
74 */ 73 */
75 protected static Color[] COLOR = { 74 protected static Color[] COLOR = {
76 Color.black, Color.red, Color.green, Color.blue, Color.yellow, 75 Color.black, Color.red, Color.green, Color.blue, Color.yellow,
77 Color.gray, Color.orange, Color.pink, Color.cyan 76 Color.gray, Color.orange, Color.pink, Color.cyan
78 }; 77 };
81 * Static field to remember the index of the previously used color. 80 * Static field to remember the index of the previously used color.
82 */ 81 */
83 protected static int nextColor = 0; 82 protected static int nextColor = 0;
84 83
85 /** 84 /**
86 * Default <code>PlotOrientation</code>. Its value is {@value}. 85 * Default <code>PlotOrientation</code>.
87 */ 86 */
88 protected PlotOrientation PLOT_ORIENTATION = PlotOrientation.VERTICAL; 87 protected PlotOrientation PLOT_ORIENTATION = PlotOrientation.VERTICAL;
89 88
90 /** 89 /**
91 * Map to store datasets for each parameter. 90 * Map to store datasets for each parameter.
170 169
171 return chart; 170 return chart;
172 } 171 }
173 172
174 173
175 /**
176 * @see de.intevation.gnv.chart.AbstractChart#initChart()
177 */
178 protected void initChart() { 174 protected void initChart() {
179 chart = ChartFactory.createXYLineChart( 175 chart = ChartFactory.createXYLineChart(
180 labels.getTitle(), 176 labels.getTitle(),
181 labels.getDomainAxisLabel(), 177 labels.getDomainAxisLabel(),
182 null, 178 null,
189 } 185 }
190 186
191 187
192 /** 188 /**
193 * Method used to adjust the axes after chart generation. Methods for i18n 189 * Method used to adjust the axes after chart generation. Methods for i18n
194 * support ({@link #localizeDomainAxis and {@link #localizeRangeAxis) are 190 * support ({@link #localizeDomainAxis} and {@link #localizeRangeAxis}) are
195 * called and axes of this series are expanded ({@link org.jfree.data.Range#expand( 191 * called and axes of this series are expanded.
196 * Range, double, double}).
197 * 192 *
198 * @param seriesKey Identifier of an axis which have to be adjusted. 193 * @param seriesKey Identifier of an axis which have to be adjusted.
199 * @param idx Set the axis identified by <code>seriesKey</code> to position 194 * @param idx Set the axis identified by <code>seriesKey</code> to position
200 * <code>idx</code>. 195 * <code>idx</code>.
201 *
202 * @see org.jfree.data.Range#expand(Range, double, double)
203 */ 196 */
204 protected void prepareAxis(String seriesKey, int idx) { 197 protected void prepareAxis(String seriesKey, int idx) {
205 log.debug("prepare axis of xychart"); 198 log.debug("prepare axis of xychart");
206 199
207 XYPlot plot = chart.getXYPlot(); 200 XYPlot plot = chart.getXYPlot();

http://dive4elements.wald.intevation.org