TrendActive - property of the PmgTrendViewer object
Description:
Index of active tvTrend object.
Note:
Property access
for read and write.
This property is also functional in
Web panels.
The index specifies which trend
tvTrend is drawn on the up 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 from the property
oTView.TrendActive = 2;
// Writing into the property
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim nTrendActive
Set nTrendActive = oTView.TrendActive
' Reading from the property
oTView.TrendActive = 2
' Writing into the property