GraphsCount - property of the tvTrend object
Description:
Returns the number of
tvGraph objects.
The default
GraphDefault object is not counted into this number.
Note:
Property access for
read only.
This property is also functional in
Web panels.
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
}
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim oTrend
Set oTrend = oTView.Trends(0)
If Not oTrend Is Nothing Then
Dim nGraphs
nGraphs = oTrend.GraphsCount
' Reading from the property
End If