comparison flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 2231:5648b5b34ae2

Issue 466. Added CSV export for activated chart themes excluding annotations. flys-artifacts/trunk@3874 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 02 Feb 2012 10:54:21 +0000
parents e2124ca11adb
children 958a10e2e246
comparison
equal deleted inserted replaced
2230:59af81364eb1 2231:5648b5b34ae2
485 } 485 }
486 else if (format.equals(ChartExportHelper.FORMAT_SVG)) { 486 else if (format.equals(ChartExportHelper.FORMAT_SVG)) {
487 prepareSVGContext(context); 487 prepareSVGContext(context);
488 488
489 ChartExportHelper.exportSVG( 489 ChartExportHelper.exportSVG(
490 out,
491 chart,
492 context);
493 }
494 else if (format.equals(ChartExportHelper.FORMAT_CSV)) {
495 context.putContextValue("chart.image.format", "csv");
496
497 ChartExportHelper.exportCSV(
490 out, 498 out,
491 chart, 499 chart,
492 context); 500 context);
493 } 501 }
494 } 502 }

http://dive4elements.wald.intevation.org