AggregationType
public enum AggregationType: String
Aggregation types that allow you to specify the type of aggregation request you want to perform
-
Average of the values
Declaration
Swift
case average = "avg"
-
Count of the values
Declaration
Swift
case count = "count"
-
The standard deviation of the time series
Declaration
Swift
case standardDeviation = "dev"
-
Calculates the difference between successive data points
Declaration
Swift
case difference = "diff"
-
Marks gaps in data with a null data point, according to the sampling rate
Declaration
Swift
case gaps = "gaps"
-
Does linear interpolation on the data points
Declaration
Swift
case interpolate = "interpolate"
-
Two points that represent the best fit line through the set of data points for the range
Declaration
Swift
case leastSquares = "least_squares"
-
The most recent largest value
Declaration
Swift
case maximum = "max"
-
The most recent smallest value
Declaration
Swift
case minimum = "min"
-
The sum of all values
Declaration
Swift
case sum = "sum"