<< Click to Display Table of Contents >> XY Trend |
![]() ![]() ![]() |
This section applies to the following objects: XY Trend, HTTP XY 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 |
---|---|---|
History DB* |
historydbname |
Choose History DB you want to bind to the trend. |
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. |
Auto refresh |
autorefresh |
Check it if you want to update trend every time when new tag’s value added into database. |
Curves |
|
After clicking Collection you’ll see window:
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). |
Axis X tag |
tagxname |
Bind tag to axis X of the trend. |
Sort |
sorttype |
Sorts values by using X value or datetime. |
*For HTTP XY Trend you have to enter History DB manually.
Also History DB Trend object has several properties that you can’t setup by using settings dialog box, but you can setup by using ST script:
•begin - start time for trend information. Time represented in minutes from current period. (start time = current time - begin).
•end - finish time for trend information. Time represented in minutes from current period. (finish time = current time - end).
•filename - name of the report’s file.
•savereport - when this value become true trend’s report will be created.
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.