diff artifacts/doc/conf/conf.xml @ 7071:50342c451512 generator-refactoring

Use DiagramGenerator for longitudinal section.
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 20 Sep 2013 14:59:00 +0200
parents e0311aa32efb
children 4e597d435398
line wrap: on
line diff
--- a/artifacts/doc/conf/conf.xml	Fri Sep 20 14:57:26 2013 +0200
+++ b/artifacts/doc/conf/conf.xml	Fri Sep 20 14:59:00 2013 +0200
@@ -291,7 +291,21 @@
         <output-generator name="cross_section_chartinfo">org.dive4elements.river.exports.CrossSectionInfoGenerator</output-generator>
         <output-generator name="computed_discharge_curve">org.dive4elements.river.exports.ComputedDischargeCurveGenerator</output-generator>
         <output-generator name="computed_discharge_curve_chartinfo">org.dive4elements.river.exports.ComputedDischargeCurveInfoGenerator</output-generator>
-        <output-generator name="longitudinal_section">org.dive4elements.river.exports.LongitudinalSectionGenerator</output-generator>
+        <output-generator name="longitudinal_section">
+            org.dive4elements.river.exports.DiagramGenerator
+            <axis name="W"/>
+            <axis name="D"/>
+            <axis name="Q"/>
+            <axis name="" type="X"/>
+            <title key="chart.longitudinal.section.title" default="W-Längsschnitt"/>
+            <subtitle key="chart.longitudinal.section.subtitle" default="-">
+                <arg expr="artifact.river"/>
+                <arg expr="artifact.ld_from" type="double"/>
+                <arg expr="artifact.ld_to" type="double"/>
+            </subtitle>
+            <processor class="org.dive4elements.river.exports.process.AnnotationProcessor" axis="none"/>
+            <processor class="org.dive4elements.river.exports.process.WOutProcessor" axis="W"/>
+        </output-generator>
         <output-generator name="longitudinal_section_chartinfo">org.dive4elements.river.exports.LongitudinalSectionInfoGenerator</output-generator>
         <output-generator name="duration_curve">org.dive4elements.river.exports.DurationCurveGenerator</output-generator>
         <output-generator name="duration_curve_chartinfo">org.dive4elements.river.exports.DurationCurveInfoGenerator</output-generator>

http://dive4elements.wald.intevation.org