comparison flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java @ 2685:5652a851f1b4

Fix water-through-mountain in cross sections. flys-artifacts/trunk@4386 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 11 May 2012 07:08:56 +0000
parents 2be59d5b342c
children 99350b06a780
comparison
equal deleted inserted replaced
2684:14188f8daefb 2685:5652a851f1b4
241 series.setLabel(series.getLabel() + ",H=" + lines.area / lines.points[1][0] + "m"); 241 series.setLabel(series.getLabel() + ",H=" + lines.area / lines.points[1][0] + "m");
242 } 242 }
243 // TODO Missing: "mittlere hoehe" (and area but this geos to 243 // TODO Missing: "mittlere hoehe" (and area but this geos to
244 // the area theme). 244 // the area theme).
245 245
246 StyledSeriesBuilder.addPoints(series, lines.points); 246 StyledSeriesBuilder.addPoints(series, lines.points, false);
247 247
248 addAxisSeries(series, 0, visible); 248 addAxisSeries(series, 0, visible);
249 } 249 }
250 250
251 251
283 ) { 283 ) {
284 logger.debug("CrossSectionGenerator.doCrossSectionOut"); 284 logger.debug("CrossSectionGenerator.doCrossSectionOut");
285 285
286 XYSeries series = new StyledXYSeries(seriesName, theme); 286 XYSeries series = new StyledXYSeries(seriesName, theme);
287 287
288 StyledSeriesBuilder.addPoints(series, (double [][]) o); 288 StyledSeriesBuilder.addPoints(series, (double [][]) o, false);
289 289
290 addAxisSeries(series, 0, visible); 290 addAxisSeries(series, 0, visible);
291 } 291 }
292 292
293 293

http://dive4elements.wald.intevation.org