Promotic

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
or it can be string - tvTrend.ID identifier.
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");
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.