AutoscrollRate - property of the PmgTrendViewer object
Description:
The period in seconds with which the viewer data are read from the source of the trend for all
tvTrend objects that were connected to any data source by the
tvTrend.Connect method. The data are read only if the
Autoscroll property is set to
true.
It is possible to enter value greater or equal to 0.2 seconds.
the
onReadData event is triggered on reading the data as well.
Syntax:
Double AutoscrollRate
Note:
Property access
for read and write.
The default value of this property is defined in the "
Autoscroll period [sec]" configurator of this object.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var nAutoRate = oTView.AutoscrollRate;
// Reading from the property
oTView.AutoscrollRate = 2;
// Writing into the property
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim nAutoRate
nAutoRate = oTView.AutoscrollRate
' Reading from the property
oTView.AutoscrollRate = 2
' Writing into the property