Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java @ 3399:e08a6352fe24
Change bandwidth theme attribute type to double (but bugged).
flys-artifacts/trunk@5035 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 18 Jul 2012 10:02:37 +0000 |
parents | 2a8919e0ed28 |
children | 2eea676ba48f |
comparison
equal
deleted
inserted
replaced
3398:7f9fe694f8d1 | 3399:e08a6352fe24 |
---|---|
431 | 431 |
432 StyledSeriesBuilder.addPoints(series, wkms); | 432 StyledSeriesBuilder.addPoints(series, wkms); |
433 addAxisSeries(series, YAXIS.W.idx, visible); | 433 addAxisSeries(series, YAXIS.W.idx, visible); |
434 | 434 |
435 // If a "band around the curve shall be drawn, add according area. | 435 // If a "band around the curve shall be drawn, add according area. |
436 int bandWidth = ThemeUtil.parseBandWidth(theme); | 436 double bandWidth = ThemeUtil.parseBandWidth(theme); |
437 if (bandWidth > 0 ) { | 437 if (bandWidth > 0 ) { |
438 XYSeries seriesDown = new StyledXYSeries( | 438 XYSeries seriesDown = new StyledXYSeries( |
439 "band " + aandf.getFacetDescription(), false, theme); | 439 "band " + aandf.getFacetDescription(), false, theme); |
440 XYSeries seriesUp = new StyledXYSeries( | 440 XYSeries seriesUp = new StyledXYSeries( |
441 aandf.getFacetDescription()+"-", false, theme); | 441 aandf.getFacetDescription()+"-", false, theme); |