Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/StyledXYSeries.java @ 1814:a9b690d864a7
Cosmetics, doc.
flys-artifacts/trunk@3143 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 02 Nov 2011 12:16:32 +0000 |
parents | 8e6615ad60b8 |
children | 6c24ffe946a5 |
comparison
equal
deleted
inserted
replaced
1813:b3a67d946568 | 1814:a9b690d864a7 |
---|---|
11 import org.jfree.chart.renderer.xy.XYLineAndShapeRenderer; | 11 import org.jfree.chart.renderer.xy.XYLineAndShapeRenderer; |
12 import org.jfree.data.xy.XYSeries; | 12 import org.jfree.data.xy.XYSeries; |
13 | 13 |
14 import de.intevation.flys.utils.ThemeUtil; | 14 import de.intevation.flys.utils.ThemeUtil; |
15 | 15 |
16 | 16 /** |
17 * Dataset in two dimensions with additional theme-document. | |
18 * The theme-document will later "style" the graphical representation. | |
19 */ | |
17 public class StyledXYSeries extends XYSeries { | 20 public class StyledXYSeries extends XYSeries { |
18 | 21 |
19 protected Document theme; | 22 protected Document theme; |
20 | |
21 | 23 |
22 private static final Logger logger = Logger.getLogger(StyledXYSeries.class); | 24 private static final Logger logger = Logger.getLogger(StyledXYSeries.class); |
23 | 25 |
24 | 26 |
25 public StyledXYSeries(String key, Document theme) { | 27 public StyledXYSeries(String key, Document theme) { |
26 this(key, true, theme); | 28 this(key, true, theme); |
27 } | 29 } |
28 | 30 |
31 | |
32 /** | |
33 * @param sorted whether or not to sort the points. Sorting will move NANs | |
34 * to one extrema which can cause problems in certain | |
35 * algorithms. | |
36 */ | |
29 public StyledXYSeries(String key, boolean sorted, Document theme) { | 37 public StyledXYSeries(String key, boolean sorted, Document theme) { |
30 super(key, sorted); | 38 super(key, sorted); |
31 this.theme = theme; | 39 this.theme = theme; |
32 } | 40 } |
33 | 41 |