RemoveTrend - method of the PmgTrendViewer object
Description:
Removes the specified trend.
Syntax:
Empty RemoveTrend(Variant vTrend)
Parameters:
vTrend | (Variant)
-2 removes the last trend from the trend container
-4 removes the active trend ( TrendActive) from the trend container
|
---|
Note:
This method is also functional in
Web panels.
Selected trend can also be removed on the "
Trends" tab.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
oTView.RemoveTrend("t0");
Dim oTView
Set oTView = pMe.Items("../TrendView")
oTView.RemoveTrend "t0"