Mercurial > dive4elements > river
diff flys-artifacts/ChangeLog @ 673:b22f21b173a7
Changed the zoom process - the values in the chart request document are percentual values that apply to every axis.
flys-artifacts/trunk@2095 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 09 Jun 2011 10:48:13 +0000 |
parents | bc1e4878d7e3 |
children | d5f9ba1d055f |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Thu Jun 09 10:31:22 2011 +0000 +++ b/flys-artifacts/ChangeLog Thu Jun 09 10:48:13 2011 +0000 @@ -1,3 +1,26 @@ +2011-06-09 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: + Append the min/max range and a transformation matrix for each axis. + + * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: + Instantiate the InfoGeneratorHelper with a XYChartGenerator instance. + + * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: + Changed the zoom operation. The zoom values defined in the chart request + document are no longer absolute values for a specific axis. Those values + represent percental values for the start and end point of x and y axes. + E.g. a chart has three axes with the following ranges: + - x axis : 0 - 10 + - y axis 1: 20 - 40 + - y axis 2: 40 - 90 + - zoom values for x: 0.1 - 0.9 (10% - 90%) + - zoom values for y: 0.2 - 0.8 (20% - 80%) + The produced chart will have the following ranges: + - x axis : 1 - 9 + - y axis 1: 24 - 36 + y axis 2: 50 - 80 + 2011-06-09 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,