Top
You are looking at an outdated 7.11.0 version of this document. Switch to the 7.14.3 version to see the up to date information.

[enum] anychart.enums.AggregationType Improve this Doc

Aggregation type for table columns.

Try it:

Name Value Description
AVERAGE average Calculate average value in a group and use it as a value of a point.
FIRST first Choose the first non-NaN value in a group as a value of a point.
FIRST_VALUE firstValue Choose the first non-undefined value as a value of a point.
LAST last Choose the last non-NaN value in a group as a value of a point.
LAST_VALUE lastValue Choose the last non-undefined value as a value of a point.
LIST list Put all non-undefined values in a group to an array and us it as a value of a point.
MAX max Choose the biggest non-NaN value in a group as a value of a point.
MIN min Choose the lowest non-NaN value in a group as a value of a point.
SUM sum Calculate the sum of values in a group and use it as a value of a point.
WEIGHTED_AVERAGE weightedAverage Calculate average value in a group using other column values as weights and use it as a value of a point.