Trend
View the trend of the values of one or more variables read in real time and/or logged
- BrowseName
- Trend
- SuperType
- Element(Item)
Properties
Name | BrowseName | DataType | Description |
---|---|---|---|
Model | Model | NodeId | Reference to the information model or database from which to obtain the data |
Query | Query | String | Standard SQL query to filter the data of interest. You can use it to filter data from a database and to filter data obtained from a node-based model. In case of a node-based model, the SELECT * FROM Model part is mandatory, followed by the WHERE clause with which to indicate the search conditions - for example, SELECT * FROM Model WHERE Speed > 40 |
Mode | Mode | Trend mode enum | |
Refresh time | RefreshTime | UInt32 | Sampling interval in milliseconds |
Key visible | LegendVisible | Boolean | Show/hide the legend of the pens |
Reference time zone | ReferenceTimeZone | Reference time zone | Time zone for displaying the date and time on the X axis. (UTC: time zone standard; Locale: time zone of the device from which the data is generated; Session: session time zone). To record the data displayed in local time zone, enable the Log Local Time property of the Data logger object |
Button style | ButtonStyle | String | Style for buttons |
Chart style | ChartStyle | String | Style for charts |
Tooltip style | ToolTipStyle | String | Style for tooltips |
Pens | Pens | Trend pen | Trend lines. Trend pen collection of objects |
Pen X axis | XAxis | The X axis for the trend pen, that shows the time being measured. Can be set to automatically scroll forward in time during runtime by setting the Follow property to True | |
Pen Y axis | YAxis | The Y axis for the trend pen, that shows the value of the variable being measured. Use the default Y axis values or set the properties to define minimum and maximum values. Can be set to automatically scale at runtime to resize the trend graph according the the values being displayed | |
TimeRanges | Variable | ||
Visible | Visible | Boolean | (Inherited from Element) |
Enabled | Enabled | Boolean | (Inherited from Element) |
Opacity | Opacity | Float | (Inherited from Element) |
Left margin | LeftMargin | Size | (Inherited from Element) |
Top margin | TopMargin | Size | (Inherited from Element) |
Right margin | RightMargin | Size | (Inherited from Element) |
Bottom margin | BottomMargin | Size | (Inherited from Element) |
Width | Width | Size | (Inherited from Element) |
Height | Height | Size | (Inherited from Element) |
Horizontal alignment | HorizontalAlignment | Horizontal alignment | (Inherited from Element) |
Vertical alignment | VerticalAlignment | Vertical alignment | (Inherited from Element) |
Rotation | Rotation | Size | (Inherited from Element) |
Methods
Refresh
- BrowseName
- Refresh
Refresh the displayed data
Clear time traces
- BrowseName
- ClearTimeTraces
Clear time ranges
- BrowseName
- ClearTimeRanges