Promotic

TrendActive - property of the PmgTrendViewer object

Description:
Index of active tvTrend object.
Syntax:
Long TrendActive
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
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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