TrendActive - property of the PmgTrendViewer object
Description:
Index of active tvTrend object.
Note:
Property access
for read and write.
The index specifies which trend
tvTrend is drawn on the top most (above the others) and whose value scale is drawn.
This active trend can be obtained by method Trends(-4).
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var nTrendActive = oTView.TrendActive; //reading
oTView.TrendActive = 2; //writing
Dim oTView, nTrendActive
Set oTView = pMe.Items("../TrendView")
Set nTrendActive = oTView.TrendActive 'reading
oTView.TrendActive = 2 'writing