comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/HorizontalCrossProfileChart.java @ 365:f66088a43ecc

Added horizontal crossprofile charts to chart pallet. Fixed some bugs before interpolation. gnv-artifacts/trunk@440 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 16 Dec 2009 19:29:05 +0000
parents
children 9697675ede21
comparison
equal deleted inserted replaced
364:2413273f1c13 365:f66088a43ecc
1 package de.intevation.gnv.chart;
2
3 import java.util.Collection;
4 import java.util.Locale;
5
6 import de.intevation.gnv.chart.ChartLabels;
7 import de.intevation.gnv.geobackend.base.Result;
8
9 import org.apache.log4j.Logger;
10
11 import org.jfree.chart.ChartTheme;
12 import org.jfree.data.general.Series;
13
14 /**
15 * @author Ingo Weinzierl <ingo.weinzierl@intevation.de>
16 */
17 public class HorizontalCrossProfileChart
18 extends HorizontalProfileChart
19 {
20 private static Logger log = Logger.getLogger(HorizontalCrossProfileChart.class);
21
22 public HorizontalCrossProfileChart(
23 ChartLabels labels,
24 ChartTheme theme,
25 Collection parameters,
26 Collection measurements,
27 Collection dates,
28 Collection result,
29 Collection timeGaps,
30 Locale locale,
31 boolean linesVisible,
32 boolean shapesVisible
33 ) {
34 super(
35 labels,
36 theme,
37 parameters,
38 measurements,
39 dates,
40 result,
41 timeGaps,
42 locale,
43 linesVisible,
44 shapesVisible
45 );
46 }
47
48
49 @Override
50 protected void gapDetection(
51 Result[] results,
52 Series series,
53 int startPos,
54 int endPos
55 ) {
56 log.warn(
57 "No gap detection for horizontalcrossprofile charts " +
58 "implemented yet."
59 );
60 }
61 }
62 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org