Promotic

GraphsCount - property of the tvTrend object

Description:
Returns the number of tvGraph objects.
The default GraphDefault object is not counted into this number.
Syntax:
Long GraphsCount
Note:
Property access for read only.
 
This property is also functional in Web panels.
See also:
- tvTrend.AddGraph (method)
- tvTrend.Graphs (method)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
if (oTrend)
{
var nGraphs = oTrend.GraphsCount;   // Reading from the property
}
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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