comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/TimeSeriesChart.java @ 788:e8a9e84a0328

Corrected JavaDoc errors in Chart Package. gnv-artifacts/trunk@870 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 31 Mar 2010 08:01:56 +0000
parents b1f5f2a8840f
children bcdcce146c14
comparison
equal deleted inserted replaced
787:6cd8492019d8 788:e8a9e84a0328
118 118
119 119
120 /** 120 /**
121 * see de.intevation.gnv.chart.AbstractXYLineChart#initChart() 121 * see de.intevation.gnv.chart.AbstractXYLineChart#initChart()
122 */ 122 */
123 @Override
123 protected void initChart() { 124 protected void initChart() {
124 chart = ChartFactory.createTimeSeriesChart( 125 chart = ChartFactory.createTimeSeriesChart(
125 labels.getTitle(), 126 labels.getTitle(),
126 labels.getDomainAxisLabel(), 127 labels.getDomainAxisLabel(),
127 null, 128 null,
225 ); 226 );
226 } 227 }
227 228
228 229
229 /** 230 /**
231 * @param parameter
230 * @see de.intevation.gnv.chart.AbstractXYLineChart#addSeries(Series, 232 * @see de.intevation.gnv.chart.AbstractXYLineChart#addSeries(Series,
231 * String, int) 233 * String, int)
232 */ 234 */
233 protected void addSeries(Series series, String parameter, int idx) { 235 protected void addSeries(Series series, String parameter, int idx) {
234 log.debug("add series (" + parameter + ")to timeseries chart"); 236 log.debug("add series (" + parameter + ")to timeseries chart");
281 } 283 }
282 } 284 }
283 285
284 286
285 /** 287 /**
288 * @param locale
286 * @see de.intevation.gnv.chart.AbstractXYLineChart#localizeDomainAxis(Axis, 289 * @see de.intevation.gnv.chart.AbstractXYLineChart#localizeDomainAxis(Axis,
287 * Locale) 290 * Locale)
288 */ 291 */
289 protected void localizeDomainAxis(Axis axis, Locale locale) { 292 protected void localizeDomainAxis(Axis axis, Locale locale) {
290 ((ValueAxis)axis).setStandardTickUnits(createStandardDateTickUnits( 293 ((ValueAxis)axis).setStandardTickUnits(createStandardDateTickUnits(
292 locale)); 295 locale));
293 } 296 }
294 297
295 298
296 /** 299 /**
300 * @param zone
301 * @param locale
302 * @return TickUnitSource
297 * @see org.jfree.chart.axis.DateAxis#createStandardDateTickUnits(TimeZone, 303 * @see org.jfree.chart.axis.DateAxis#createStandardDateTickUnits(TimeZone,
298 * Locale) 304 * Locale)
299 */ 305 */
300 public static TickUnitSource createStandardDateTickUnits( 306 public static TickUnitSource createStandardDateTickUnits(
301 TimeZone zone, 307 TimeZone zone,
428 434
429 435
430 /** 436 /**
431 * Method to get a message from resource bundle. 437 * Method to get a message from resource bundle.
432 * 438 *
433 * @param Locale Locale used to specify the resource bundle. 439 * @param locale Locale used to specify the resource bundle.
434 * @param def Key to specify the required message. 440 * @param key Key to specify the required message.
441 * @param def Default string if resource is not existing.
435 * 442 *
436 * @return Message 443 * @return Message
437 */ 444 */
438 protected String getMessage(Locale locale, String key, String def) { 445 protected String getMessage(Locale locale, String key, String def) {
439 return RessourceFactory.getInstance().getRessource(locale, key, def); 446 return RessourceFactory.getInstance().getRessource(locale, key, def);

http://dive4elements.wald.intevation.org