changeset 1048:b5d852991cbf

The size of an svg export is adjustable now (issue290). gnv-artifacts/trunk@1120 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 24 May 2010 17:07:26 +0000 (2010-05-24)
parents 05ab74539ed3
children 778d86255d76
files gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Fri May 21 11:36:48 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Mon May 24 17:07:26 2010 +0000
@@ -1,3 +1,12 @@
+2010-05-24  Ingo Weinzierl <ingo_weinzierl@web.de>
+
+	  Issue290
+
+	* src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java:
+	  The size of an svg export depends on the size chosen by the user (or the
+	  default size if the user did not change the size) - it is not fixed
+	  anymore.
+
 2010-05-21  Tim Englich  <tim.englich@intevation.de>
 
 	* doc/conf/queries.properties: 
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java	Fri May 21 11:36:48 2010 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java	Mon May 24 17:07:26 2010 +0000
@@ -935,7 +935,7 @@
             outputStream,
             chart.generateChart(),
             null,
-            600, 400
+            width, height
         );
 
         log.debug("svg export finished.");

http://dive4elements.wald.intevation.org