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 default value of this property is defined in the "
Autoscroll type" configurator of this object.
This property is also functional in
Web panels.
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
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim nAutoType
nAutoType = oTView.AutoscrollType
' Reading from the property
oTView.AutoscrollType = 11
' Writing into the property