Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/HorizontalCrossProfileChart.java @ 767:79401c871da4
Added and repaired javadoc in de.intevation.gnv.chart package.
gnv-artifacts/trunk@823 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 24 Mar 2010 14:48:55 +0000 |
parents | 9697675ede21 |
children | b1f5f2a8840f |
comparison
equal
deleted
inserted
replaced
766:a23ce49423d5 | 767:79401c871da4 |
---|---|
10 | 10 |
11 import org.jfree.chart.ChartTheme; | 11 import org.jfree.chart.ChartTheme; |
12 import org.jfree.data.general.Series; | 12 import org.jfree.data.general.Series; |
13 | 13 |
14 /** | 14 /** |
15 * @author Ingo Weinzierl <ingo.weinzierl@intevation.de> | 15 * Implementation to create a special type of horizontal profile charts. |
16 * | |
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
16 */ | 18 */ |
17 public class HorizontalCrossProfileChart | 19 public class HorizontalCrossProfileChart |
18 extends HorizontalProfileChart | 20 extends HorizontalProfileChart |
19 { | 21 { |
22 /** | |
23 * Logger used for logging with log4j. | |
24 */ | |
20 private static Logger log = Logger.getLogger(HorizontalCrossProfileChart.class); | 25 private static Logger log = Logger.getLogger(HorizontalCrossProfileChart.class); |
21 | 26 |
27 /** | |
28 * Constructor to create HorizontalCrossProfileChart objects. | |
29 * | |
30 * @param labels Labels used to be displayed in title, subtitle and so on. | |
31 * @param theme ChartTheme used to adjust the rendering of this chart. | |
32 * @param parameters Collection containing a bunch of parameters. | |
33 * @param measurements Collection containing a bunch of measurements. | |
34 * @param dates Collection containing a bunch of date objects. | |
35 * @param result Collection containing a bunch of <code>Result</code> | |
36 * objects which contain the actual data items to be displayed. | |
37 * @param timeGaps Collection with timegap definitions. | |
38 * @param locale Locale used to specify the format of labels, numbers, ... | |
39 * @param linesVisible Render lines between data points if true, otherwise | |
40 * not. | |
41 * @param shapesVisible Render vertices as points if true, otherwise not. | |
42 */ | |
22 public HorizontalCrossProfileChart( | 43 public HorizontalCrossProfileChart( |
23 ChartLabels labels, | 44 ChartLabels labels, |
24 ChartTheme theme, | 45 ChartTheme theme, |
25 Collection parameters, | 46 Collection parameters, |
26 Collection measurements, | 47 Collection measurements, |
44 shapesVisible | 65 shapesVisible |
45 ); | 66 ); |
46 } | 67 } |
47 | 68 |
48 | 69 |
70 /** | |
71 * Method for gap detection. Nothing is done here, because in this type of | |
72 * chart no gap detection takes place. | |
73 * | |
74 * @see de.intevation.gnv.chart.HorizontalProfileChart#gapDetection(Result[], | |
75 * Series, int, int) | |
76 */ | |
49 @Override | 77 @Override |
50 protected void gapDetection( | 78 protected void gapDetection( |
51 Result[] results, | 79 Result[] results, |
52 Series series, | 80 Series series, |
53 int startPos, | 81 int startPos, |