diff gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java @ 640:e5f1e868ee3e

Implementedr histogram pdf export. gnv-artifacts/trunk@726 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 03 Mar 2010 13:44:15 +0000
parents a94ed2755480
children 078ba6799bd2
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java	Tue Mar 02 14:48:32 2010 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java	Wed Mar 03 13:44:15 2010 +0000
@@ -374,7 +374,13 @@
                     );
                 }
                 else if (mode.equalsIgnoreCase("pdf")) {
-                    log.info("not implemented yet.");
+                    ChartExportHelper.exportHistogramsAsPDF(
+                        outputStream,
+                        histograms,
+                        "A4",
+                        PDF_FORMAT_LANDSCAPE,
+                        50F, 50F, 50F, 50F
+                    );
                 }
                 else if (mode.equalsIgnoreCase("svg")) {
                     ChartExportHelper.exportHistogramsAsSVG(

http://dive4elements.wald.intevation.org