Skip to main content

<TimeSeriesLabels>

Category: Control tag

The TimeSeriesLabels tag is used to create a labeled time range.

Use with the following data types: time series.

Attributes​

AttributeTypeRequiredDefaultDescription
namestringyes—Name of the element
tonamestringyes—Name of the timeseries to label
choicesingle,multiplenosingleConfigure whether you can select one or multiple labels
maxUsagesnumberno—Maximum number of times a label can be used per task
showInlinetrue,falsenotrueShow labels in the same visual line
opacityfloatno0.9Opacity of the range
fillColorstringnotransparentRange fill color in hexadecimal or HTML color name
strokeColorstringno#f48a42Stroke color in hexadecimal
strokeWidthnumberno1Width of the stroke

Examples​

Basic labeling configuration to apply labels to identified regions of a time series with one channel​

<View>
<TimeSeriesLabels name="label" toName="ts">
<Label value="Run"/>
<Label value="Walk"/>
</TimeSeriesLabels>

<TimeSeries name="ts" value="$csv" valueType="url">
<Channel column="first_column"/>
</TimeSeries>
</View>