Points - property of the tvTrend object
Description:
Object of the tvPoints type - a set of read points with time stamps whose development is drawn.
Note:
Property access for
read only.
This property is also functional in
Web panels.
Example:
The example calculates an average from all points of the trend "t1" in the visible part of the viewer.
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe;
var oPoints = oTView.Trends("t1").Points;
var nAverage = oPoints.Avg("visible");
Dim oTView, oPoints, nAverage
Set oTView = pMe
Set oPoints = oTView.Trends("t1").Points
nAverage = oPoints.Avg("visible")