PointsMaxVisibleCount - property of the PmgTrendViewer object
Description:
Maximum number of displayed points in viewer range.
Syntax:
Long PointsMaxVisibleCount
Note:
Property access
for read and write.
The default value of this property is defined in the "
Maximum number of points rendered by a single trend progression" configurator of this object.
This property is also functional in
Web panels.
The default value is
8000.
If, for example, the value of the property is set to 5000, then if the viewer has to display in the range of the time axis 7000 values, only 5000 oldest values are displayed. The value of this constant is also sent to the server that returns to the client no more values than there are set in this property.
The number of points sent from server to the client is also influenced by setting the "
Maximum number of points returned in message by trend server (for one variable)" configurator.
If
PointsMaxVisibleCount=
-1, then the number of displayed points is limited by the maximum size of the buffer for the data and this is 60000.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var nMaxVis = oTView.PointsMaxVisibleCount;
// Reading from the property
oTView.PointsMaxVisibleCount = 10000;
// Writing into the property
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim nMaxVis
nMaxVis = oTView.PointsMaxVisibleCount
' Reading from the property
oTView.PointsMaxVisibleCount = 10000
' Writing into the property