Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationCurveGenerator.java @ 9398:929d645691ae
Fixed: sinfo flood duration: no w/q problem report with unchecked wspl option
author | mschaefer |
---|---|
date | Mon, 13 Aug 2018 17:27:52 +0200 |
parents | f318359b81a2 |
children | 9b8e8fc1f408 |
comparison
equal
deleted
inserted
replaced
9397:6e7094368e97 | 9398:929d645691ae |
---|---|
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde | 1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde |
2 * Software engineering by Intevation GmbH | 2 * Software engineering by |
3 * Björnsen Beratende Ingenieure GmbH | |
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt | |
3 * | 5 * |
4 * This file is Free Software under the GNU AGPL (>=v3) | 6 * This file is Free Software under the GNU AGPL (>=v3) |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the | 7 * and comes with ABSOLUTELY NO WARRANTY! Check out the |
6 * documentation coming with Dive4Elements River for details. | 8 * documentation coming with Dive4Elements River for details. |
7 */ | 9 */ |
8 | |
9 package org.dive4elements.river.artifacts.sinfo.flood_duration; | 10 package org.dive4elements.river.artifacts.sinfo.flood_duration; |
10 | 11 |
11 import java.awt.Font; | 12 import java.awt.Font; |
12 import java.awt.geom.Point2D; | 13 import java.awt.geom.Point2D; |
13 import java.io.OutputStream; | 14 import java.io.OutputStream; |
30 import org.jfree.data.Range; | 31 import org.jfree.data.Range; |
31 import org.jfree.data.xy.XYSeries; | 32 import org.jfree.data.xy.XYSeries; |
32 import org.w3c.dom.Document; | 33 import org.w3c.dom.Document; |
33 | 34 |
34 /** | 35 /** |
35 * An OutGenerator that generates duration curves. | 36 * An OutGenerator that generates flood duration curves. |
36 * | 37 * (based upon a copy of DurationCurveGenerator) |
37 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
38 */ | 38 */ |
39 public class FloodDurationCurveGenerator extends XYChartGenerator implements FacetTypes { | 39 public class FloodDurationCurveGenerator extends XYChartGenerator implements FacetTypes { |
40 public static enum YAXIS { | 40 public static enum YAXIS { |
41 W(0), Q(1); | 41 W(0), Q(1); |
42 public int idx; | 42 public int idx; |