Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/themes.xml Fri Jul 01 11:16:11 2011 +0000 +++ b/flys-artifacts/doc/conf/themes.xml Fri Jul 01 14:46:13 2011 +0000 @@ -5,21 +5,103 @@ <inherits> <inherit from="HiddenColorLines"/> </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 153"/> + <field name="linesize" type="int" display="Liniendicke" default="2" hints="h"/> + </fields> </theme> + <!-- + Discharge Longitudinal Section + --> <theme name="LongitudinalSectionW"> <inherits> <inherit from="HiddenColorLines"/> </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/> + </fields> </theme> <theme name="LongitudinalSectionQ"> <inherits> <inherit from="HiddenColorLines"/> </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/> + </fields> </theme> + <!-- + Computed Discharge Curves + --> + <theme name="ComputedDischargeCurve"> + <inherits> + <inherit from="HiddenColorLines"/> + </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 153"/> + <field name="linesize" type="int" display="Liniendicke" default="2" hints="h"/> + </fields> + </theme> + + + <!-- + Duration Curves + --> + <theme name="DurationCurveW"> + <inherits> + <inherit from="HiddenColorLines"/> + </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" default="0,51,204"/> + <field name="linesize" type="int" display="Liniendicke" default="2" hints="h"/> + </fields> + </theme> + + <theme name="DurationCurveQ"> + <inherits> + <inherit from="HiddenColorLines"/> + </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" default="0,204,0"/> + <field name="linesize" type="int" display="Liniendicke" default="2" hints="h"/> + </fields> + </theme> + + + <!-- + Discharge Longitudinal Section + --> + <theme name="DischargeLongitudinalSectionW"> + <inherits> + <inherit from="HiddenColorLines"/> + </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/> + </fields> + </theme> + + + <theme name="DischargeLongitudinalSectionC"> + <inherits> + <inherit from="HiddenColorLines"/> + </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0 , 0"/> + </fields> + </theme> + + <theme name="DischargeLongitudinalSectionQ"> + <inherits> + <inherit from="HiddenColorLines"/> + </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/> + </fields> + </theme> + <!-- Virtual themes are following now! --> <theme name="Lines" type="virtual"> @@ -55,8 +137,14 @@ <!-- Mappings are following now. A mapping maps between a name of a facet and a theme. --> <mappings> - <mapping from="discharge_curve.curve" to="DischargeCurve"/> <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/> <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/> + <mapping from="discharge_curve.curve" to="DischargeCurve"/> + <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve"/> + <mapping from="duration_curve.w" to="DurationCurveW"/> + <mapping from="duration_curve.q" to="DurationCurveQ"/> + <mapping from="discharge_longitudinal_section.w" to="DischargeLongitudinalSectionW"/> + <mapping from="discharge_longitudinal_section.c" to="DischargeLongitudinalSectionC"/> + <mapping from="discharge_longitudinal_section.q" to="DischargeLongitudinalSectionQ"/> </mappings> </themes>