Promotic

DrawBeforePointsType - property of the tvTrend object

Description:
Draw type of prediction to the past.
If the viewer is set in the time so that it displays even the first trend value (the first value in the buffer of the tvPoints object), then the prediction allows to draw the line from this point to the past.
The prediction is drawn only by the tvGraph objects with setting the tvGraph.Type property to "Stairs", "StairsHoriz" or "Const(x)".
Syntax:
Long DrawBeforePointsType
Values:
0 (default) - the prediction is not drawn
1 - the prediction is drawn by the horizontal line from the first point to the past
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.DrawBeforePointsType = 1;
}
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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