Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/StyledSeriesBuilder.java @ 6769:334db91c96dc
StyledSeriesBuilder: Minor doc improvement.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 07 Aug 2013 11:02:43 +0200 |
parents | 126c76184c3e |
children | cbe9ac4380a5 |
comparison
equal
deleted
inserted
replaced
6768:7b81b3c3c0fa | 6769:334db91c96dc |
---|---|
43 * Add points to series, create gaps if certain distance between points is met. | 43 * Add points to series, create gaps if certain distance between points is met. |
44 * | 44 * |
45 * @param series Series to add points to. | 45 * @param series Series to add points to. |
46 * @param points Points to add to series, points[0] to 1st dim, points[1] | 46 * @param points Points to add to series, points[0] to 1st dim, points[1] |
47 * to 2nd dim. | 47 * to 2nd dim. |
48 * @param skipNANs if true, skip NAN values in points parameter. | 48 * @param skipNANs if true, skip NAN values in points parameter. Otherwise, |
49 * the NaNs lead to gaps in graph. | |
49 * @param distance if two consecutive entries in points[0] are more | 50 * @param distance if two consecutive entries in points[0] are more |
50 * than distance apart, create a NaN value to skip in display. | 51 * than distance apart, create a NaN value to skip in display. |
51 */ | 52 */ |
52 public static void addPoints(XYSeries series, double[][] points, boolean skipNANs, double distance) { | 53 public static void addPoints(XYSeries series, double[][] points, boolean skipNANs, double distance) { |
53 if (points == null || points.length <= 1) { | 54 if (points == null || points.length <= 1) { |