DrawAfterPointsType - property of the tvTrend object
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"
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
Property access for read and write
This property is also functional in Web panels
The property is used only if the graphic mode
var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
oTrend.DrawAfterPointsType = 1;