# HG changeset patch # User Felix Wolfsteller # Date 1342617101 0 # Node ID 2eea676ba48f75bf742af4f10de8d4a8926944bb # Parent e08a6352fe24028d2b2331b94728c1551f625c5a smaller bandwidth fixes. flys-artifacts/trunk@5041 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r e08a6352fe24 -r 2eea676ba48f flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Wed Jul 18 10:02:37 2012 +0000 +++ b/flys-artifacts/ChangeLog Wed Jul 18 13:11:41 2012 +0000 @@ -1,3 +1,9 @@ +2012-07-18 Felix Wolfsteller + + * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: + Use bandwidth parameter for width of band, adjusted name to be + displayed in legend. + 2012-07-18 Felix Wolfsteller * doc/conf/default-themes.xml, diff -r e08a6352fe24 -r 2eea676ba48f flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java --- a/flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java Wed Jul 18 10:02:37 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java Wed Jul 18 13:11:41 2012 +0000 @@ -438,9 +438,9 @@ XYSeries seriesDown = new StyledXYSeries( "band " + aandf.getFacetDescription(), false, theme); XYSeries seriesUp = new StyledXYSeries( - aandf.getFacetDescription()+"-", false, theme); - StyledSeriesBuilder.addUpperBand(seriesUp, wkms, 5d); - StyledSeriesBuilder.addLowerBand(seriesDown, wkms, 5d); + aandf.getFacetDescription()+"+/-"+bandWidth, false, theme); + StyledSeriesBuilder.addUpperBand(seriesUp, wkms, bandWidth); + StyledSeriesBuilder.addLowerBand(seriesDown, wkms, bandWidth); StyledAreaSeriesCollection area = new StyledAreaSeriesCollection(theme); area.addSeries(seriesUp);