Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java @ 2406:84cdde4bc482
Fixed broken PDF export for historical discharge curves.
flys-artifacts/trunk@4034 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 10 Feb 2012 14:04:07 +0000 |
parents | b8df8d1476ba |
children | 7dd45896e941 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java Fri Feb 10 12:41:12 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java Fri Feb 10 14:04:07 2012 +0000 @@ -213,7 +213,7 @@ NumberFormat wf = Formatter.getHistoricalDischargeW(context); NumberFormat qf = Formatter.getHistoricalDischargeQ(context); - double[] wq = new double[2]; + double[] wq = new double[3]; String gaugeName = getReferenceGaugename(); @@ -228,7 +228,7 @@ df.format(start) + " - " + df.format(end), wf.format(wq[0]), qf.format(wq[1]), - "TODO: Difference to reference curve", + qf.format(wq[2]), gaugeName }); }