comparison 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
comparison
equal deleted inserted replaced
639:a94ed2755480 640:e5f1e868ee3e
372 chartWidth, 372 chartWidth,
373 chartHeight 373 chartHeight
374 ); 374 );
375 } 375 }
376 else if (mode.equalsIgnoreCase("pdf")) { 376 else if (mode.equalsIgnoreCase("pdf")) {
377 log.info("not implemented yet."); 377 ChartExportHelper.exportHistogramsAsPDF(
378 outputStream,
379 histograms,
380 "A4",
381 PDF_FORMAT_LANDSCAPE,
382 50F, 50F, 50F, 50F
383 );
378 } 384 }
379 else if (mode.equalsIgnoreCase("svg")) { 385 else if (mode.equalsIgnoreCase("svg")) {
380 ChartExportHelper.exportHistogramsAsSVG( 386 ChartExportHelper.exportHistogramsAsSVG(
381 outputStream, 387 outputStream,
382 histograms, 388 histograms,

http://dive4elements.wald.intevation.org