Trend



Trend displays the value of one or two analog values as curves.

The cuves can be drawn with or without fill, where fill means that that area between the curve
and the time axis is filled. The curves are drawn with the second curve on top.

A number of horizontal and vertical lines can be drawn with the border color in the trend
object. The number of lines are configured from the object editor.

The properties fill, fillcolor, bordercolor etc., states the properties for the background
rectangle of the curve. The properties of the curve itself are stated from the object editor.

A trend is created by selecting trend in the subgraph palette, 'Analog-Trend', and clicking
MB2 in the working area.

Properties

- Fill (for the background rectangle)
- Fillcolor (for the background rectangle)
- Border (for the background rectangle)
- Bordercolor (for the background rectangle)
- Linewidth (for the background rectangle)

Attributes

Attribute                           Description
Trend.Attribute1                       Signal for curve number 1.
Trend.Attribute2                       Signal for curve number 2.
Trend.MinValueAttr1   Signal for minimum value curve number 1. Is used when the
                min value is dynamic. For static value, Trend.MinValue1 is used.
Trend.MaxValueAttr1   Signal for maximum value curve number 1. Is used when the
                max value is dynamic. For static value, Trend.MaxValue1 is used.
Trend.MinValueAttr2   Signal for minimum value curve number 2. Is used when the
                min value is dynamic. For static value, Trend.MinValue1 is used.
Trend.MaxValueAttr2   Signal for maximum value curve number 2. Is used when the
                max value is dynamic. For static value, Trend.MaxValue1 is used.
Trend.HoldAttr      Signal to freeze the curve.
Trend.TimeRangeAttr   Signal of type Float32 for the time range of the curve.
Trend.Mark1Attr                       Database attribute for the position of the first horizonal
                      marker line.
Trend.Mark2Attr                       Database attribute for the position of the second horizontal
                      marker line.
Trend.Mark1Color                       Color of the first marker line.
Trend.Mark2Color                       Color of the second marker line.
Trend.NoOfPoints                       Number of points in the curve.
Trend.ScanTime                       Time interval between two points.
Trend.CurveLineWidth                       Linewidth for the curve (1-8)
Trend.FillCurve                       States that the area between the curve and the time axis
                      is to be filled.
Trend.HorizontalLines                       Number of horizontal lines
Trend.VerticalLines                       Number or vertical lines
Trend.MaxValue1                       Maximum value of Attribute1
Trend.MinValue1                       Minimum value of Attribute1
Trend.CurveColor1                       Border color for the curve of Attribute1
Trend.CurveFillColor1                       Fill color for the curve of Attribute1
Trend.MaxValue2                       Maximum value of Attribute2
Trend.MinValue2                       Minimum value of Attribute2
Trend.CurveColor2                       Border color for the curve of Attribute2
Trend.CurveFillColor2                       Fill color for the curve of Attribute2
Trend.Dynamic                       Not implemented