Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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 preset value of this property is defined in the "Maximum number of points rendered by a single trend progression" configurator of this object.
 
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 its range of the time axis 7000 values, only 5000 oldest values are displayed. The value of this constant is also sent to 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 point count 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

oTView.PointsMaxVisibleCount = 10000;  //writing
PROMOTIC 9.0.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice