diff artifacts/doc/conf/generators.xml @ 7143:053e39436ba3

Diagrams: Determine if axis should be inverted dynamically.
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 25 Sep 2013 12:36:19 +0200
parents 8c70767028e1
children b6595716f5f0
line wrap: on
line diff
--- a/artifacts/doc/conf/generators.xml	Wed Sep 25 12:33:22 2013 +0200
+++ b/artifacts/doc/conf/generators.xml	Wed Sep 25 12:36:19 2013 +0200
@@ -21,7 +21,8 @@
             <arg expr="artifact.ld_from" type="double"/>
             <arg expr="artifact.ld_to" type="double"/>
         </subtitle>
-        <domain-axis key="chart.longitudinal.section.xaxis.label" default="Fluss-Km">
+        <domain-axis key="chart.longitudinal.section.xaxis.label" default="Fluss-Km"
+                inverted="org.dive4elements.river.exports.IsKmUpEvaluator()">
             <arg expr="artifact.river"/>
         </domain-axis>
         <processor class="org.dive4elements.river.exports.process.AnnotationProcessor" axis="none"/>

http://dive4elements.wald.intevation.org