Mercurial > dive4elements > river
diff artifacts/doc/conf/generators/discharge-diagrams2.xml @ 8252:1e30489d0958
Added injectors to config and moved subtitle conf.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 10 Sep 2014 10:01:57 +0200 |
parents | 75a6ac0c73ef |
children | c87c87544cc6 |
line wrap: on
line diff
--- a/artifacts/doc/conf/generators/discharge-diagrams2.xml Wed Sep 10 10:01:11 2014 +0200 +++ b/artifacts/doc/conf/generators/discharge-diagrams2.xml Wed Sep 10 10:01:57 2014 +0200 @@ -3,29 +3,45 @@ <output-generator names="historical_discharge_wq,historical_discharge_wq_chartinfo" class="org.dive4elements.river.exports.DischargeGenerator" - converter="org.dive4elements.river.exports.DiagramAttributes"> + converter="org.dive4elements.river.exports.DiagramAttributes" + injector="org.dive4elements.river.exports.injector.HistoricalDischargeInjector"> <title key="chart.historical.discharge.title" default="chart.historical.discharge.title"/> &discharge-defaults; </output-generator> <output-generator names="computed_discharge_curve_chartinfo,computed_discharge_curve" class="org.dive4elements.river.exports.DischargeGenerator" - converter="org.dive4elements.river.exports.DiagramAttributes"> + converter="org.dive4elements.river.exports.DiagramAttributes" + injector="org.dive4elements.river.exports.injector.ComputedDischargeInjector"> <title key="chart.computed.discharge.curve.title" default="chart.computed.discharge.curve.title"/> + <subtitle key="chart.computed.discharge.curve.subtitle" default="-"> + <arg expr="artifact.river"/> + <arg expr="artifact.ld_locations" type="double"/> + </subtitle> &discharge-defaults; </output-generator> <output-generator names="discharge_curve_chartinfo,discharge_curve" class="org.dive4elements.river.exports.DischargeGenerator" - converter="org.dive4elements.river.exports.DiagramAttributes"> + converter="org.dive4elements.river.exports.DiagramAttributes" + injector="org.dive4elements.river.exports.injector.DischargeInjector"> <title key="chart.discharge.curve.title" default="chart.discharge.curve.title"/> + <subtitle key="chart.computed.discharge.curve.subtitle" default="-"> + <arg expr="artifact.river"/> + <arg expr="artifact.ld_locations" type="double"/> + </subtitle> &discharge-defaults; </output-generator> <output-generator names="fix_wq_curve,fix_wq_curve_chartinfo" class="org.dive4elements.river.exports.DischargeGenerator" - converter="org.dive4elements.river.exports.DiagramAttributes"> - <title key="chart.fixings.discharge.curve.title" default="chart.fixings.discharge.curve.title"/> + converter="org.dive4elements.river.exports.DiagramAttributes" + injector="org.dive4elements.river.exports.injector.FixWQInjector"> + <title key="chart.fixings.discharge.curve.title" default="Fixierungsanalyse W/Q"/> + <subtitle key="chart.computed.discharge.curve.subtitle" default="-"> + <arg expr="artifact.river"/> + <arg expr="artifact.ld_locations" type="double"/> + </subtitle> &discharge-defaults; </output-generator>