comparison gnv-artifacts/ChangeLog @ 304:a16d337c5678

The style of charts can be configured with ChartThemes using XML configuration files. gnv-artifacts/trunk@362 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 23 Nov 2009 17:01:28 +0000
parents 9ba2cf8cad8d
children 91c37bf28c0e
comparison
equal deleted inserted replaced
303:9ba2cf8cad8d 304:a16d337c5678
1 2009-11-23 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 * doc/conf/charttemplate.xml: Added configuration file for chart themes.
4
5 * src/main/java/de/intevation/gnv/chart/XMLChartTheme.java: Theme class for
6 reading xml files which describe chart styles. It extends the
7 StandardChartTheme class of JFreeChart which defines default values for
8 chart parameters. It is possible to apply different xml configurations for
9 different charts.
10
11 * src/main/java/de/intevation/gnv/chart/AbstractXYLineChart.java,
12 src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java:
13 Before creating a new chart, an instance of XMLChartTheme is initialized
14 which is responsible for the chart style.
15
16 NOTE: 'charttemplate.xml' is used by artifact server and has to be placed
17 in the config directory.
18
1 2009-11-20 Ingo Weinzierl <ingo.weinzierl@intevation.de> 19 2009-11-20 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2 20
3 * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java: 21 * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java:
4 Export format of charts (png, jpeg, gif) depends on mime-type. 22 Export format of charts (png, jpeg, gif) depends on mime-type.
5 23

http://dive4elements.wald.intevation.org