comparison flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 423:bab867fb37e8

Charts are generated using the size defined in the incoming request document. flys-artifacts/trunk@1908 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 12 May 2011 09:11:16 +0000
parents 4de7d9eac10f
children 8fa4c5c9cd1a
comparison
equal deleted inserted replaced
422:3b83341e0cf4 423:bab867fb37e8
85 addDatasets(chart); 85 addDatasets(chart);
86 addSubtitles(chart); 86 addSubtitles(chart);
87 adjustPlot(plot); 87 adjustPlot(plot);
88 adjustAxes(plot); 88 adjustAxes(plot);
89 89
90 int[] size = getSize();
91
90 ChartExportHelper.exportImage( 92 ChartExportHelper.exportImage(
91 out, 93 out,
92 chart, 94 chart,
93 "png", 95 "png",
94 600, 400); 96 size[0], size[1]);
95 } 97 }
96 98
97 99
98 /** 100 /**
99 * Adjusts the axes of a plot. 101 * Adjusts the axes of a plot.

http://dive4elements.wald.intevation.org