comparison gnv-artifacts/ChangeLog @ 1050:7f3154331bc1

Use the chart size/height to export it to pdf. The chart's aspect ratio keeps alive if the size exceeds the maximum page size (issue290). gnv-artifacts/trunk@1124 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 25 May 2010 15:41:31 +0000
parents 778d86255d76
children 8f836fb6f592
comparison
equal deleted inserted replaced
1049:778d86255d76 1050:7f3154331bc1
1 2010-05-25 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 Issue290
4
5 * src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java:
6 Added chart width and chart height as new parameters for the pdf creation.
7
8 * src/main/java/de/intevation/gnv/exports/ChartExportHelper.java: Don't use
9 the maximum size of a pdf page to draw the chart but use the parameter
10 chart width and chart height. Scale the chart down if its size and/or
11 height exceed the maximum size of the pdf page - the original aspect
12 ratio keeps alive.
13
1 2010-05-25 Ingo Weinzierl <ingo.weinzierl@intevation.de> 14 2010-05-25 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2 15
3 Issue287 16 Issue287
4 17
5 * src/main/java/de/intevation/gnv/chart/HorizontalProfileChart.java: 18 * src/main/java/de/intevation/gnv/chart/HorizontalProfileChart.java:

http://dive4elements.wald.intevation.org