TrendChart

Control that displays trend data over time in a curve chart.

Symbol

Menüband

Start > Controls > System > Trends > TrendChart

The TrendChart control displays data from trend definitions of the Trends system module in a curve chart. The x-axis always represents the timeline while the y-axis shows the values of a trend. The TrendChart can display multiple trends as curves. For each trend, an individual y-axis with the corresponding limit values can be displayed. Using the marker, users can determine the exact points where the marker line and the curves intersect. The TrendChart can be operated by mouse as well as by touch in order to pan or to zoom in and out in the TrendChart.

The TrendChart can be used together with a TrendChartController and a TrendChartLegend.

TrendChart showing two trend curves and the marker, with a TrendChartController and a TrendChartLegend below

Functionalities

The control supports the following functionality:

To configure these functionalities, select the control in the designer or in the Document Outline and set the properties in the Properties window. All properties have a tool tip describing the selected property. To show the tool tip, hold your mouse above the name of the property you want to know more about in the Properties window. The tool tip appears shortly after.

Display of trend curves (Series)

If you add a TrendChart to a page in the designer, it will already include a Series element. This element displays the data of the bound trend definition. To bind a trend definition to the Series element, select the element in the Document Outline and specify the desired trend in the TrendName property.

To add another Series element to the TrendChart, select the TrendChart in the designer or in the Document Outline and click on the button next to the Series property to open the Collection Editor.

The Series supports the following functionality:

X-axis

The ShowXAxis property specifies whether the x-axis including labels, ticks, major and minor grid lines is displayed.

In addition to that, you can configure the following for the x-axis:

Grid

The ShowGrid property specifies whether the grid is drawn in addition to the curves. In addition to that, you can configure the following for the grid:

Loading spinner

In certain cases, data in the TrendChart must be updated. This is the case, for example, if the user first stops the online display of trend data in order to go back in time and view the trend curve from a more distant past and then wants to switch back to the online mode. The user can do so by clicking on the refresh button in the TrendChartController.

If updating the data takes longer than desired, you can show an animated loading symbol by enabling the ShowLoadingSpinnerOnRequest property. The loading symbol is set by the LoadingSpinner property. The colors of the loading symbol itself and of the translucent background of the loading symbol can be set in the properties LoadingSpinnerForegroundColor and LoadingSpinnerBackgroundColor.

Marker

The marker can only be used if it was enabled using the Enabled property in the Marker category. In addition to that, you can configure the following for the marker: