Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/jfree/StyledXYSeries.java @ 8860:28df64078f27
Merge with 0862ea5d66baf60e7eee496d130a35157cc9ec12
author | gernotbelger |
---|---|
date | Fri, 19 Jan 2018 11:23:42 +0100 |
parents | 8c64617a7991 5e38e2924c07 |
children | ef5754ba5573 |
comparison
equal
deleted
inserted
replaced
8854:7bbfb24e6eec | 8860:28df64078f27 |
---|---|
47 public StyledXYSeries(String key, ThemeDocument theme) { | 47 public StyledXYSeries(String key, ThemeDocument theme) { |
48 this(key, true, theme, (Shape)null); | 48 this(key, true, theme, (Shape)null); |
49 } | 49 } |
50 | 50 |
51 | 51 |
52 public StyledXYSeries(String key, ThemeDocument theme, XYSeries unstyledSeries) { | 52 public StyledXYSeries( |
53 String key, | |
54 ThemeDocument theme, | |
55 XYSeries unstyledSeries | |
56 ) { | |
53 this(key, theme); | 57 this(key, theme); |
54 add(unstyledSeries); | 58 add(unstyledSeries); |
55 } | 59 } |
56 | 60 |
57 public StyledXYSeries(String key, boolean sorted, ThemeDocument theme) { | 61 public StyledXYSeries(String key, boolean sorted, ThemeDocument theme) { |
66 /** | 70 /** |
67 * @param sorted whether or not to sort the points. Sorting will move NANs | 71 * @param sorted whether or not to sort the points. Sorting will move NANs |
68 * to one extrema which can cause problems in certain | 72 * to one extrema which can cause problems in certain |
69 * algorithms. | 73 * algorithms. |
70 */ | 74 */ |
71 public StyledXYSeries(String key, boolean sorted, ThemeDocument theme, Shape shape) { | 75 public StyledXYSeries( |
76 String key, | |
77 boolean sorted, | |
78 ThemeDocument theme, | |
79 Shape shape | |
80 ) { | |
72 super(key, sorted); | 81 super(key, sorted); |
73 setStyle(new XYStyle(theme, shape)); | 82 setStyle(new XYStyle(theme, shape)); |
74 this.label = key.toString(); | 83 this.label = key.toString(); |
75 } | 84 } |
76 | 85 |