changeset 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 61b32380ffdb
children 0b8c04c7f762
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/themes.xml
diffstat 2 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Feb 09 12:13:28 2012 +0000
+++ b/flys-artifacts/ChangeLog	Thu Feb 09 13:28:57 2012 +0000
@@ -1,3 +1,8 @@
+2012-02-09  Ingo Weinzierl <ingo@intevation.de>
+
+	* doc/conf/themes.xml: Added themes for historical discharge curves and
+	  the differences to a reference curve.
+
 2012-02-09  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Some
--- 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