Versions Compared

Key

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

...

Marker style for markers plotted on the vertices of the line. Enumeration of "none", "+", "x", "circle", "square", "rectangle", "diamond", "triangleup" , "triangledown".

Directional arrow markers

Since 2017.02, arrow markers can be plotted, where the direction of the arrow depends on a direction time series. This, for example, allows you to configure a wind speed parameter to include arrow markers signifying the wind direction when available. These arrow markers are currently supported in both the data display, as well as the report module. For the time series display FEWS will automatically search for the rotation time series, this does not have to be included in the display group or data viewer selection. For the report module, the configured chart does have to include both time series to ensure that the rotation data is available. 

markerRotationParameterId

The parameter id of the parameter to be used to determine the marker orientation. The given parameter should be a rotation in degrees (0 - 360, clockwise where 0 is north), for example wind direction. The markers drawn on the graph will be arrows (or the configured markerIcon) rotated by the number of degrees given by the marker rotation time series. Note that the time series set with all elements except parameterId (locationId, timeStep etc.) identical to the plotted parameter is used. If no rotation time series can be found, or it contains a missing value for a certain time, no marker is drawn.

markerIcon

Optional element to configure a custom arrow icon. If configured the icon will be used as a marker on the graph. If no custom icon is configured, FEWS will use a default arrow, which is automatically given the same color as the time series on which the markers are drawn. 

markerRotationOffset

Optional element (default 0). The configured offset (in degrees) is added to the rotation (as given by the markerRotationParameter) for each marker. Note that for the default arrow icon (when no markerIcon is given), a rotation of 0 degrees (and an offset of 0) corresponds to the arrow pointing up. For displaying wind direction, configure a markerRotationOffset of 180. 

Example

Image Added

The example config below can be used to produce a graph with custom direction icons (displayed on the left in the image above). Removing the <markerIcon> element will result in the default arrow icons being used (displayed on the right in the image above). 

Code Block
titleExample config for rotated arrow markers
		<parameterDisplayOptions id="WindSpeed">
			<preferredColor>purple</preferredColor>
			<lineStyle>solid</lineStyle>
			<markerRotationParameterId>WindDirection</markerRotationParameterId>
			<markerIcon>arrow_icon.png</markerIcon>
			<markerRotationOffset>180</markerRotationOffset>
		</parameterDisplayOptions>

 


markerSize

Size of the marker in points

...