PointsMaxVisibleCount - property of the PmgTrendViewer object
Maximum number of displayed points in viewer range.
Property access for read and write
The preset 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)
, then the number of displayed points is limited by the maximum size of the buffer for the data and this is 60000.
var oTView = pMe.Items("../TrendView");
var nMaxVis = oTView.PointsMaxVisibleCount;
// Reading from the property
oTView.PointsMaxVisibleCount = 10000;
// Writing into the property
Dim oTView, nMaxVis
Set oTView = pMe.Items("../TrendView")
nMaxVis = oTView.PointsMaxVisibleCount
' Reading from the property
oTView.PointsMaxVisibleCount = 10000
' Writing into the property