Mercurial > dive4elements > river
diff flys-artifacts/doc/conf/artifacts/chart.xml @ 2134:024d986b4f5b
'New Chart' for duration curve.
flys-artifacts/trunk@3710 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 18 Jan 2012 15:50:34 +0000 |
parents | e8fc770d2f8c |
children | 77cdc344ef77 |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/artifacts/chart.xml Wed Jan 18 14:45:24 2012 +0000 +++ b/flys-artifacts/doc/conf/artifacts/chart.xml Wed Jan 18 15:50:34 2012 +0000 @@ -22,7 +22,7 @@ <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> <from state="state.chart.type"/> - <to state="state.chart.durationcurve"/> + <to state="state.chart.km"/> <condition data="chart_type" value="chart.new.durationcurve" operator="equal"/> </transition> @@ -64,20 +64,7 @@ </outputmodes> </state> - <state id="state.chart.durationcurve" description="state.winfo.durationcurve" state="de.intevation.flys.artifacts.states.DurationCurveState"> - <outputmodes> - <outputmode name="duration_curve" description="output.duration_curve" mime-type="image/png" type="chart"> - <facets> - <facet name="duration_curve.w" description="facet.duration_curve.w"/> - <facet name="duration_curve.q" description="facet.duration_curve.q"/> - <facet name="computed_discharge_curve.mainvalues.q" description="Q Main Values"/> - <facet name="computed_discharge_curve.mainvalues.w" description="W Main Values"/> - </facets> - </outputmode> - </outputmodes> - </state> - - <state id="state.chart.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState"> + <state id="state.chart.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState"> <outputmodes> <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png" type="chart"> <facets> @@ -117,6 +104,12 @@ <condition data="chart_type" value="chart.new.computeddischargecurve" operator="equal"/> </transition> + <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> + <from state="state.chart.km"/> + <to state="state.chart.durationcurve"/> + <condition data="chart_type" value="chart.new.durationcurve" operator="equal"/> + </transition> + <state id="state.chart.computeddischargecurve" description="state.chart.computeddischargecurve" state="de.intevation.flys.artifacts.states.ComputedDischargeCurveState"> <outputmodes> <outputmode name="computed_discharge_curve" description="output.computed_discharge_curve" mime-type="image/png" type="chart"> @@ -134,5 +127,20 @@ </outputmodes> </state> + <state id="state.chart.durationcurve" description="state.winfo.durationcurve" state="de.intevation.flys.artifacts.states.DurationCurveState"> + <outputmodes> + <outputmode name="duration_curve" description="output.duration_curve" mime-type="image/png" type="chart"> + <facets> + <facet name="empty.facet" description="Empty"/> + <facet name="duration_curve.w" description="facet.duration_curve.w"/> + <facet name="duration_curve.q" description="facet.duration_curve.q"/> + <facet name="computed_discharge_curve.mainvalues.q" description="Q Main Values"/> + <facet name="computed_discharge_curve.mainvalues.w" description="W Main Values"/> + </facets> + </outputmode> + </outputmodes> + </state> + + </states> </artifact>