diff flys-artifacts/doc/conf/themes.xml @ 2317:9b5541dcc01f

Added themes for discharge curves and difference curves in historical discharge curve charts. flys-artifacts/trunk@3998 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 09 Feb 2012 13:28:57 +0000
parents 094b4abde10e
children 4b7870e102f4
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/themes.xml	Thu Feb 09 12:13:28 2012 +0000
+++ b/flys-artifacts/doc/conf/themes.xml	Thu Feb 09 13:28:57 2012 +0000
@@ -12,6 +12,31 @@
         </fields>
     </theme>
 
+
+    <!-- concrete theme for historical discharge curves -->
+    <theme name="HistoricalDischargeCurveQ">
+        <inherits>
+            <inherit from="HiddenColorLines"/>
+            <inherit from="MinMaxPoints"/>
+        </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>
+
+    <theme name="HistoricalDischargeCurveQDiff">
+        <inherits>
+            <inherit from="HiddenColorLines"/>
+            <inherit from="MinMaxPoints"/>
+        </inherits>
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
+            <field name="linesize"  type="int"   display="Liniendicke" default="2" hints="h"/>
+        </fields>
+    </theme>
+
+
     <!--
         Discharge Longitudinal Section
     -->
@@ -943,6 +968,8 @@
         <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/>
 
         <mapping from="discharge_curve.curve" to="DischargeCurve"/>
+        <mapping from="historical_discharge.historicalq" to="HistoricalDischargeCurveQ"/>
+        <mapping from="historical_discharge.historicalq.diff" to="HistoricalDischargeCurveQDiff"/>
         <mapping from="cross_section" to="CrossSection"/>
         <mapping from="cross_section_water_line" to="CrossSectionWaterLine"/>
         <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve"/>

http://dive4elements.wald.intevation.org