Promotic

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.
Syntax:
Long CursorType
Values:
0 - no cursor
1 (default) - crossed
2 - vertical line
Note:
Property access for read and write. The default 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.
See also:
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
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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