Update cookies preferences
Promotic

AutoscrollType - property of the PmgTrendViewer object

Description:
Automatic scroll type (i.e. automatic movement of the time axis) when autoscroll is switched on (on setting the Autoscroll property to true)
Syntax:
Long AutoscrollType
Values:
0 - No scrolling
10 - If the time of the latest trend value exceeds the edge time, then it is scrolled to this time.
11 (default) - If the time of the latest trend value exceeds the edge time, then it is scrolled by the AutoscrollSize according to the AutoscrollSizeUnit.
20 - If the current time exceeds the edge time, then it is scrolled to this time.
21 - If the current time exceeds the edge time, then it is scrolled by the AutoscrollSize according to the AutoscrollSizeUnit.
30 - It is always scrolled on the tick of the internal timer whose period is given by setting the AutoscrollRate, it is scrolled by the size defined in the AutoscrollSize according to the AutoscrollSizeUnit.
Note:
Property access for read and write. The default value of this property is defined in the "Autoscroll type" configurator of this object.
 
This property is also functional in Web panels.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

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

var nAutoType = oTView.AutoscrollType;   // Reading from the property
oTView.AutoscrollType = 11;   // Writing into the property
PROMOTIC 9.0.29 SCADA system documentation MICROSYS, spol. s r.o.

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