avg - Average. Calculated as the sum of all values divided by the number of these values.
avgweighted - Weighted average. Calculated as the sum of all values multiplied by their weight (the value has the heigher weight the longer it lasts) and this sum is divided by the whole length of of time-span, by which the calculation is done.
min - Minimum. Returns the minimum value from the interval.
max - Maximum. Returns the maximum value from the interval.
minmax (default) - Minimum and maximum. Returns two values: the first is the minumum value from the interval and the second is the maximum value from the interval.
sum - Sum. Returns the sum of all values from the interval.
count - Count. Returns the count of all values from the interval.
first - First value. Returns the first value from the interval.