comparison flys-artifacts/ChangeLog @ 924:f7761914f745

An initial implementation to render chart series based on the XML configuration in themes.xml. flys-artifacts/trunk@2276 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 01 Jul 2011 14:46:13 +0000
parents 7ca4a287cd0e
children 0cb1a70b8b92
comparison
equal deleted inserted replaced
923:7ca4a287cd0e 924:f7761914f745
1 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
2
3 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: New. This
4 XYSeries stores the style information that should be used to render this
5 series. These information are stored as raw XML documents. A public
6 method can be used to apply those style information to a
7 XYLineAndShapeRenderer.
8
9 Note: The only two attributes currently supported by StyledXYSeries
10 items are "linesize" and "linecolor".
11
12 * doc/conf/themes.xml: Added some more basic themes for the four
13 calculation methods.
14
15 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: This
16 generator now tries to apply themes for all series contained in the
17 chart. If a series is no instance of StyledXYSeries, the default
18 renderer is used.
19
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/DischargeCurveGenerator.java,
23 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
24 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
25 Removed the code that had been introduced to adapt renderers statically.
26 Now, each of these concrete ChartGenerators instantiates StyledXYSeries
27 items to put the curves into the chart. Those items contain style
28 information now!
29
1 2011-07-01 Ingo Weinzierl <ingo@intevation.de> 30 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
2 31
3 flys/issue135 (Diagramm: Trotz abgeschalteter Themen bleiben Beschriftungen bestehen) 32 flys/issue135 (Diagramm: Trotz abgeschalteter Themen bleiben Beschriftungen bestehen)
4 33
5 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The way 34 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The way

http://dive4elements.wald.intevation.org