changeset 5781:a5d4904e6bb2

Part of issue697: Q-Mainvalue-Artifacts-Text vertically.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 22 Apr 2013 11:42:12 +0200
parents 5e3c9027e09c
children 5ad389bc20f0
files flys-artifacts/doc/conf/themes.xml flys-artifacts/doc/conf/themes/default/general.xml
diffstat 2 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/themes.xml	Mon Apr 22 10:48:37 2013 +0200
+++ b/flys-artifacts/doc/conf/themes.xml	Mon Apr 22 11:42:12 2013 +0200
@@ -192,7 +192,7 @@
         <mapping from="discharge_longitudinal_section.w" to="DischargeLongitudinalSectionW" />
         <mapping from="discharge_longitudinal_section.c" to="DischargeLongitudinalSectionC" />
         <mapping from="discharge_longitudinal_section.q" to="DischargeLongitudinalSectionQ" />
-        <mapping from="computed_discharge_curve.mainvalues.q" to="MainValuesQ" />
+        <mapping from="computed_discharge_curve.mainvalues.q" to="MainValuesQVerticalText" />
         <mapping from="computed_discharge_curve.mainvalues.w" to="MainValuesW" />
         <mapping from="duration_curve.mainvalues.q" to="MainValuesQ" />
         <mapping from="mainvalues.q" to="MainValuesQ" />
--- a/flys-artifacts/doc/conf/themes/default/general.xml	Mon Apr 22 10:48:37 2013 +0200
+++ b/flys-artifacts/doc/conf/themes/default/general.xml	Mon Apr 22 11:42:12 2013 +0200
@@ -12,6 +12,20 @@
             <field name="showlinelabel" type="boolean"
                 display="Linienbeschriftung anzeigen" default="false" hints="hidden" />
         </fields>
+</theme>
+
+    <theme name="MainValuesQVerticalText">
+        <inherits>
+            <inherit from="Lines" />
+        </inherits>
+        <fields>
+            <field name="linecolor" type="Color" display="Farbe"
+                default="200, 0, 15" />
+            <field name="textorientation" type="boolean" display="Textausrichtung"
+                default="false" />
+            <field name="showlinelabel" type="boolean"
+                display="Linienbeschriftung anzeigen" default="false" hints="hidden" />
+        </fields>
     </theme>
 
     <theme name="MainValuesW">

http://dive4elements.wald.intevation.org