CursorTimeLocation - property of the PmgTrendViewer object
Cursor time location.
0 - not visible
1 (default) - is displayed at the bottom of the graph area
2 - is displayed at the up of the graph area
Property access for read and write
. The preset value of this property is defined in the "Display cursor time
" configurator of this object.
This property is also functional in Web panels
The property is used only if the graphic mode
The time, corresponding to the vertical cursor line, is rendered inside the chart panel.
The format and font is the same as for the time scale values displayed, see LabelFormat
The time value can be gathered in the script by means of the CursorTime
var oTView = pMe.Items("../TrendView");
var nCursorTimeLoc = oTView.CursorTimeLocation;
// Reading from the property
oTView.CursorTimeLocation = 1;
// Writing into the property