vTrend | (Variant) vTrend is either the index into the container array of trends (zero-based index) or the tvTrend.ID identifier -2 - Returns the last tvTrend object in the container. -4 - Returns the active object (displayed over the other tvTrend objects) according to setting the TrendActive property. 0,1,2,... - Returns object specified by index (zero-based index). |
---|
var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends("t1");
if (oTrend)
{
oTrend.ValueMin = 100;
oTrend.ValueMax = 200;
}
else
//.. error