[PATCH] Part of flys/issue1168: Show discharge sector averages as lines again
Wald Commits
scm-commit at wald.intevation.org
Thu Aug 15 15:04:14 CEST 2013
# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1376571678 -7200
# Node ID 9bd2d5c40f1751f10b1442d21c3c51fbf5f38788
# Parent d4b9fe13c9b8688fd517949622a40881dfb0387c
Part of flys/issue1168: Show discharge sector averages as lines again.
diff -r d4b9fe13c9b8 -r 9bd2d5c40f17 artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.java Thu Aug 15 13:40:43 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.java Thu Aug 15 15:01:18 2013 +0200
@@ -35,7 +35,6 @@
import org.apache.log4j.Logger;
import org.jfree.chart.annotations.XYTextAnnotation;
-import org.jfree.data.time.Day;
import org.jfree.data.time.RegularTimePeriod;
import org.jfree.data.time.FixedMillisecond;
import org.jfree.data.time.TimeSeries;
@@ -270,9 +269,9 @@
// Draw a line spanning the analysis time.
series.add(rtp, value);
- rtp = new Day(qwd.dateRange.getFrom());
+ rtp = new FixedMillisecond(qwd.dateRange.getFrom());
series.addOrUpdate(rtp, value);
- rtp = new Day(qwd.dateRange.getTo());
+ rtp = new FixedMillisecond(qwd.dateRange.getTo());
series.addOrUpdate(rtp, value);
tsc.addSeries(series);
More information about the Dive4elements-commits
mailing list