Promotic

DrawAfterPointsType - property of the tvTrend object

Description:
Draw type of prediction to future.
If the viewer displays even the last trend value (the last value in the buffer of the tvPoints object), then the prediction allows to draw the line from this point to the future.
The prediction is drawn only by the tvGraph objects with setting the tvGraph.Type property to "Stairs", "StairsHoriz" or "Const(x)".
Syntax:
Long DrawAfterPointsType
Values:
0 - the prediction is not drawn
1 - the prediction is drawn by the horizontal line from the last point to the future
2 (default) - the prediction is drawn by the horizontal line from the last point to the current time
Note:
Property access for read and write.
 
This property is also functional in Web panels.
 
The property is used only if the graphic mode is set.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
if (oTrend)
{
oTrend.DrawAfterPointsType = 1;
}
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.