Mercurial > dive4elements > river
changeset 6835:9bd2d5c40f17
Part of flys/issue1168: Show discharge sector averages as lines again.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 15 Aug 2013 15:01:18 +0200 |
parents | d4b9fe13c9b8 |
children | caf027fe0715 |
files | artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.java |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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);