Trend

<< Click to Display Table of Contents >>

Navigation:  Project > Screens > Graphical objects > Trends and Charts library >

Trend

Previous pageReturn to chapter overviewNext page

This section applies to the following objects: Trend, Real time trend, Trend DB, Trend OPC UA History, HTTP trend, Cloud trend, MQTT trend.

 

trend

 

Let's look at the "General" properties of this object  (properties not listed in the table are common to all objects, you can read about them here).

 

Property

ST script field

Description

Line width

linewidth

Width of the border's line.

Color

color

Color of the border's line.

Fill

fill

Select fill or not fill trend.

Fill color

fillcolor

Fill color of the trend.

Curves

 

After clicking Collection you’ll see window:

 

curves

where:

Tag -  tag that you want to bind to this curve.

Name - name of the curve.

Line with - curve's line width.

Color - curve's line color.

Type - line's type:

Type 1 -  just draw the line.

Type 2 -  draw line with filling till axis X.

Type 3 -  draw a ladder line.

Type 4 -  draw a filled ladder line.

Type 5 - draw the line with smoothed effect (don't use for big amount of history data).

Type 6 - draw line with filling till axis X and with smoothed effect (don't use for big amount of history data).

Default period (min)

defaultperiod

Default time period of the trend (end time - begin time).

History DB *

 

History database name of the HTTP server for HTTP history DB trend.

Auto refresh *

 

Check it if you want to auto refresh HTTP history DB trend.

* Available only in HTTP history DB trend.

 

Also Trend object has several properties that you can’t setup by using settings dialog window, but you can setup by using ST script:

begin - start time for trend information. Time is represented in minutes from current period. (start time = current time - begin).

end - finish time for trend information. Time is represented in minutes from current period. (finish time = current time - end).

title - title for the trend’s report representation.

filename - name of the report’s file.

number - report’s frequency of writing values.

savereport - when this value become true trend’s report will be created.

begindatetime - start time for trend information. Time is represented in milliseconds from 1 January 1970.

enddatetime - finish time for trend information.  Time is represented in milliseconds from 1 January 1970.

disablesavereport - disable "Save report" button in the dialog.

disableprint -  disable "Print" report button in the dialog.  

 

Properties from the "Grid" tab are described here.

Properties from the "Fill Color" tab are described here.

Properties from the "Flash" tab are described here.

Properties from the "Rotation" tab are described here.

Properties from the "Motion" tab are described here.

Properties from the "Visibility" tab are described here.