comparison flys-artifacts/doc/conf/themes.xml @ 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 8422ffc1f2f9
children 0eb585cd3882
comparison
equal deleted inserted replaced
923:7ca4a287cd0e 924:f7761914f745
3 <!-- Concrete themes are following now! --> 3 <!-- Concrete themes are following now! -->
4 <theme name="DischargeCurve"> 4 <theme name="DischargeCurve">
5 <inherits> 5 <inherits>
6 <inherit from="HiddenColorLines"/> 6 <inherit from="HiddenColorLines"/>
7 </inherits> 7 </inherits>
8 <fields>
9 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 153"/>
10 <field name="linesize" type="int" display="Liniendicke" default="2" hints="h"/>
11 </fields>
8 </theme> 12 </theme>
9 13
14 <!--
15 Discharge Longitudinal Section
16 -->
10 <theme name="LongitudinalSectionW"> 17 <theme name="LongitudinalSectionW">
11 <inherits> 18 <inherits>
12 <inherit from="HiddenColorLines"/> 19 <inherit from="HiddenColorLines"/>
13 </inherits> 20 </inherits>
21 <fields>
22 <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
23 </fields>
14 </theme> 24 </theme>
15 25
16 <theme name="LongitudinalSectionQ"> 26 <theme name="LongitudinalSectionQ">
17 <inherits> 27 <inherits>
18 <inherit from="HiddenColorLines"/> 28 <inherit from="HiddenColorLines"/>
19 </inherits> 29 </inherits>
30 <fields>
31 <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
32 </fields>
20 </theme> 33 </theme>
21 34
35
36 <!--
37 Computed Discharge Curves
38 -->
39 <theme name="ComputedDischargeCurve">
40 <inherits>
41 <inherit from="HiddenColorLines"/>
42 </inherits>
43 <fields>
44 <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 153"/>
45 <field name="linesize" type="int" display="Liniendicke" default="2" hints="h"/>
46 </fields>
47 </theme>
48
49
50 <!--
51 Duration Curves
52 -->
53 <theme name="DurationCurveW">
54 <inherits>
55 <inherit from="HiddenColorLines"/>
56 </inherits>
57 <fields>
58 <field name="linecolor" type="Color" display="Linienfarbe" default="0,51,204"/>
59 <field name="linesize" type="int" display="Liniendicke" default="2" hints="h"/>
60 </fields>
61 </theme>
62
63 <theme name="DurationCurveQ">
64 <inherits>
65 <inherit from="HiddenColorLines"/>
66 </inherits>
67 <fields>
68 <field name="linecolor" type="Color" display="Linienfarbe" default="0,204,0"/>
69 <field name="linesize" type="int" display="Liniendicke" default="2" hints="h"/>
70 </fields>
71 </theme>
72
73
74 <!--
75 Discharge Longitudinal Section
76 -->
77 <theme name="DischargeLongitudinalSectionW">
78 <inherits>
79 <inherit from="HiddenColorLines"/>
80 </inherits>
81 <fields>
82 <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
83 </fields>
84 </theme>
85
86
87 <theme name="DischargeLongitudinalSectionC">
88 <inherits>
89 <inherit from="HiddenColorLines"/>
90 </inherits>
91 <fields>
92 <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0 , 0"/>
93 </fields>
94 </theme>
95
96 <theme name="DischargeLongitudinalSectionQ">
97 <inherits>
98 <inherit from="HiddenColorLines"/>
99 </inherits>
100 <fields>
101 <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
102 </fields>
103 </theme>
22 104
23 105
24 <!-- Virtual themes are following now! --> 106 <!-- Virtual themes are following now! -->
25 <theme name="Lines" type="virtual"> 107 <theme name="Lines" type="virtual">
26 <fields> 108 <fields>
53 135
54 136
55 <!-- Mappings are following now. A mapping maps between a name of a facet 137 <!-- Mappings are following now. A mapping maps between a name of a facet
56 and a theme. --> 138 and a theme. -->
57 <mappings> 139 <mappings>
58 <mapping from="discharge_curve.curve" to="DischargeCurve"/>
59 <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/> 140 <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/>
60 <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/> 141 <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/>
142 <mapping from="discharge_curve.curve" to="DischargeCurve"/>
143 <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve"/>
144 <mapping from="duration_curve.w" to="DurationCurveW"/>
145 <mapping from="duration_curve.q" to="DurationCurveQ"/>
146 <mapping from="discharge_longitudinal_section.w" to="DischargeLongitudinalSectionW"/>
147 <mapping from="discharge_longitudinal_section.c" to="DischargeLongitudinalSectionC"/>
148 <mapping from="discharge_longitudinal_section.q" to="DischargeLongitudinalSectionQ"/>
61 </mappings> 149 </mappings>
62 </themes> 150 </themes>

http://dive4elements.wald.intevation.org