DrawBeforePointsType - property of the tvTrend object
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)".
0 (default) - the prediction is not drawn
1 - the prediction is drawn by the horizontal line from the first point to the past
Property access for read and write
The property is used only if the graphic mode is set.
var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
oTrend.DrawBeforePointsType = 1;