GetStateText - method of the PmgTrendViewer object
Description:
Returns current state of the viewer in text form.
Syntax:
String GetStateText()
Return value:
Returns the text:
empty string - normal state
"Data reading..." - if the viewer is currently waiting for the data.
"Maximum number of points reached" - if the range of the time axis was extended so that not all required data could be read in this range. See:
PointsMaxVisibleCount.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe;
if (oTView.GetStateText() != "")
{
Pm.Debug(oTView.GetStateText());
}
Dim oTView
Set oTView = pMe
If oTView.GetStateText() <> "" Then
Pm.Debug oTView.GetStateText()
End If