Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java @ 3395:2a8919e0ed28
Cosmetics, doc.
flys-artifacts/trunk@5025 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 17 Jul 2012 18:40:25 +0000 |
parents | f091f2f55f88 |
children | e62f70c2213d |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java Tue Jul 17 18:31:34 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java Tue Jul 17 18:40:25 2012 +0000 @@ -74,6 +74,13 @@ } } + + /** + * Add points to dataset with an offset (shift all points by given amount). + * @param series series to add data to. + * @param wkms WKms of which the Ws will be shifted. + * @param off the offset. + */ public static void addUpperBand(XYSeries series, WKms wkms, double off) { if (wkms == null) { return; @@ -86,10 +93,19 @@ } } + + /** + * Add points to dataset with an offset (shift all points 'down' by given + * amount). + * @param series series to add data to. + * @param wkms WKms of which the Ws will be shifted. + * @param off the offset. + */ public static void addLowerBand(XYSeries series, WKms wkms, double off) { addUpperBand(series, wkms, -off); } + /** * Add points to series (km to 1st dim, q to 2nd dim). *