Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below an example of a dual y-axis plot.

Below an example of how to configure a timeseries which should be displayed on the right y-axis.

Code Block
xml
xml
<subplot>
			<plotWeight>2</plotWeight>
			<line>
			<color>blue</color>
			<axis>right</axis>
				<timeSeriesSet>
					<moduleInstanceSetId>MAP</moduleInstanceSetId>
					<valueType>scalar</valueType>
					<parameterId>MAP</parameterId>
					<locationId>LNDW1XU</locationId>
					<timeSeriesType>simulated forecasting</timeSeriesType>
					<timeStep unit="hour" multiplier="6"/>
					<readWriteMode>read only</readWriteMode>
				</timeSeriesSet>
			</line>
			<line>
			<color>dark orange</color>
			<axis>right</axis>
				<timeSeriesSet>
					<moduleInstanceSetId>MAP</moduleInstanceSetId>
					<valueType>scalar</valueType>
					<parameterId>MAP</parameterId>
					<locationId>LNDW1XM</locationId>
					<timeSeriesType>simulated forecasting</timeSeriesType>
					<timeStep unit="hour" multiplier="6"/>
					<readWriteMode>read only</readWriteMode>
				</timeSeriesSet>
			</line>

In setting the axis to right this timeseries will be displayed at the right axis instead of the (default) left axis.

Stage/discharge plots

When a discharge is displayed, it is possible to show the stage on the right axis.

...

The ticks on the right axis are calculated from the value of the discharge on the left axis by using a rating curve.

Code Block
xml
xml

<subplot>
	<plotWeight>5</plotWeight>
	<line>
		<axis>left</axis>
		<ratingAxis>
		<parameterGroupId>Level</parameterGroupId>
		<transformationType>dischargeStage</transformationType>
		<ratingCurve>
			<locationId>exampleId</locationId>
		</ratingCurve>
		</ratingAxis>
		<timeSeriesSet>
			<moduleInstanceId>STAGEQ_LEDC2_LEDC2R_Forecast</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>QIN</parameterId>
			<locationId>LEDC2R</locationId>
			<timeSeriesType>simulated forecasting</timeSeriesType>
			<timeStep unit="hour" multiplier="6"/>
			<readWriteMode>read only</readWriteMode>
			<ensembleId>QPF</ensembleId>
		</timeSeriesSet>
</line> 
display

Wiki Markup
Definition of a pre-configured display. Each display may contain multiple sub-plots. Multiple displays may be defined per display group.
\[
!DisplayComplexType1.png!

...