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

[enum] anychart.enums.AggregationType Improve this Doc

Aggregation type for table columns.

Try it:

Value Description
average Calculate average value in a group and use it as a value of a point.
first Choose the first non-NaN value in a group as a value of a point.
firstValue Choose the first non-undefined value as a value of a point.
last Choose the last non-NaN value in a group as a value of a point.
lastValue Choose the last non-undefined value as a value of a point.
list Put all non-undefined values in a group to an array and us it as a value of a point.
max Choose the biggest non-NaN value in a group as a value of a point.
min Choose the lowest non-NaN value in a group as a value of a point.
sum Calculate the sum of values in a group and use it as a value of a point.
weightedAverage Calculate average value in a group using other column values as weights and use it as a value of a point.