comparison flys-artifacts/ChangeLog @ 1684:bdb05dc9b763

Bugfix: #353 Enabled chart's to be drawn with proper axes set even if no data is contained. flys-artifacts/trunk@2902 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 07 Oct 2011 10:51:09 +0000
parents acb4d20b130e
children 022f62c75878
comparison
equal deleted inserted replaced
1683:acb4d20b130e 1684:bdb05dc9b763
1 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
2
3 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
4
5 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6 Adapted the process of collecting outs for Artifacts/Facets. We will now
7 call OutGenerator.doOut() for each Artifact and Facet - never mind if
8 the facet is activated (visible) or not. The OutGenerator should decide
9 on its own whtat to do with facets which are "marked" as _not_ visible.
10
11 * src/main/java/de/intevation/flys/exports/OutGenerator.java,
12 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
13 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
14 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
15 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
16 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
17 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
18 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
19 src/main/java/de/intevation/flys/exports/ATExporter.java,
20 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
21 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
22 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
23 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
24 Adapted the signature of OutGenerator.doOut(). There will be a new
25 boolean parameter "visible" that determines if the facet specified in
26 this method is visible for this output or not.
27
28 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Now,
29 that we walk over every Artifact/Facet, we are able to collect min/max
30 data for all axes. We store these information and use them to set the
31 ranges of x and y axes. The result of this: a chart can have proper axes
32 set without any data in it.
33
34 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Use
35 min/max ranges stored while calling doOut() for each Artifact/Facet
36 instead of fetching those information from chart's Datasets (which could
37 be null).
38
1 2011-10-07 Ingo Weinzierl <ingo@intevation.de> 39 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
2 40
3 * src/main/java/de/intevation/flys/utils/Formatter.java: Changed the max 41 * src/main/java/de/intevation/flys/utils/Formatter.java: Changed the max
4 number of digits for AT exports from 0 to 2. 42 number of digits for AT exports from 0 to 2.
5 43

http://dive4elements.wald.intevation.org