diff artifacts/doc/conf/generators/discharge-diagrams.xml @ 8376:5f0bc8b28024

Make derived curve-diagram working with subtitle.
author Tom Gottfried <tom@intevation.de>
date Thu, 02 Oct 2014 19:31:09 +0200
parents cac60032aa7d
children 8c60595fd74c
line wrap: on
line diff
--- a/artifacts/doc/conf/generators/discharge-diagrams.xml	Thu Oct 02 19:05:01 2014 +0200
+++ b/artifacts/doc/conf/generators/discharge-diagrams.xml	Thu Oct 02 19:31:09 2014 +0200
@@ -46,9 +46,12 @@
 
   <output-generator names="fix_derivate_curve,fix_derivate_curve_chartinfo"
       class="org.dive4elements.river.exports.DischargeGenerator"
-      injectors="org.dive4elements.river.exports.injector.PNPInjector"
+      injectors="org.dive4elements.river.exports.injector.KmFromRequestInjector,org.dive4elements.river.exports.injector.PNPInjector"
       converter="org.dive4elements.river.exports.DiagramAttributes">
-    <title key="chart.fixings.derived.discharge.curve.title" default="chart.fixings.derived.discharge.curve.title"/>
+    <title key="chart.fixings.derivedcurve.title" default="-"/>
+    <subtitle key="chart.fix.discharge.curve.subtitle" default="-">
+        <arg expr="artifact.river"/>
+    </subtitle>
     &discharge-defaults;
   </output-generator>
 

http://dive4elements.wald.intevation.org