CursorType - property of the PmgTrendViewer object
Description:
Cursor type, its appearance.
The cursor is a graphic pointer in the graph area that is located by clicking the mouse. It allows to get the time and the value of data point that is marked by the cursor, graphically or by the
CursorTime and
tvTrend.CursorValue properties.
Values:
0 - no cursor
1 (default) - crossed
2 - vertical line
Note:
Property access
for read and write.
The preset value of this property is defined in the "
Cursor type" configurator of this object.
This property is also functional in
Web panels.
The property is used only if the
graphic mode is set.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var nCursorType = oTView.CursorType;
// Reading from the property
oTView.CursorType = 1;
// Writing into the property
Dim oTView, nCursorType
Set oTView = pMe.Items("../TrendView")
nCursorType = oTView.CursorType
' Reading from the property
oTView.CursorType = 1
' Writing into the property