AutoscrollSizeUnit - property of the PmgTrendViewer object
Description:
Specifies in which units the values of the
AutoscrollSize property are defined (the multiple of the page size, the time in seconds, the shortest period, ...)
Syntax:
Long AutoscrollSizeUnit
Values:
0 - the length of movement in seconds
1 (default) - the length of movement in the multiple of the time axis, 1.0 means the length of the whole page.
Note:
Property access
for read and write.
The default value of this property is defined in the "
Autoscroll mode" configurator of this object.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var nAutoSizeUnit = oTView.AutoscrollSizeUnit;
// Reading from the property
oTView.AutoscrollSizeUnit = 1;
// Writing into the property
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim nAutoSizeUnit
nAutoSizeUnit = oTView.AutoscrollSizeUnit
' Reading from the property
oTView.AutoscrollSizeUnit = 1
' Writing into the property