Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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:
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.15 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice