CursorTimeLocation - property of the PmgTrendViewer object

Cursor time location.
Long CursorTimeLocation
0 - not visible
1 (default) - is displayed at the bottom of the chart area
2 - is displayed at the up of the chart area
Property access for read and write. The preset value of this property is defined in the "Display cursor time" configurator of this object.
The property is used only if the graphic mode is set.

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, LabelFont.
The time value can be gathered in the script by means of the CursorTime property.
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var nCursorTimeLoc = oTView.CursorTimeLocation;   // reading

oTView.CursorTimeLocation = 1;   // writing
PROMOTIC 9.0.17 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice