TagAggregation
public struct TagAggregation
Aggregation functions allow you to perform mathematical operations on a number of data points to create a reduced number of data points. Aggregation functions each perform distinct mathematical operations and are performed on all the data points included in the sampling period.
-
The type of aggregation
Declaration
Swift
public var type: AggregationType
-
The sampling of the aggregation
Declaration
Swift
public var sampling: AggregationSampling
-
Constructs an instance of the aggregation
Declaration
Swift
public init(type: AggregationType, sampling: AggregationSampling)