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.
20 - If the current time exceeds the edge time, then it is scrolled to this time.
Note:
Property access
for read and write. The preset value of this property is defined in the "
Autoscroll type" configurator of this object.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var nAutoType = oTView.AutoscrollType; //reading
oTView.AutoscrollType = 11; //writing
Dim oTView, nAutoType
Set oTView = pMe.Items("../TrendView")
nAutoType = oTView.AutoscrollType 'reading
oTView.AutoscrollType = 11 'writing