CursorType - property of the PmgTrendViewer object
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
0 - no cursor
1 (default) - crossed
2 - vertical line
Property access for read and write
. The preset value of this property is defined in the "Cursor type
" configurator of this object.
The property is used only if the graphic mode is set.
var oTView = pMe.Items("../TrendView");
var nCursorType = oTView.CursorType; //reading
oTView.CursorType = 1; //writing