new Aggregate()
The Aggregate class describes how to aggregate data, as described by a Facet into a single value.
For example, you can sum or average over numbers, or count the number of different labels.
- Source:
Extends
Members
(static) facetId :string
The ID of the facet to aggregate over
Type:
- string
- Source:
(static) normalization :string
Normalization:
nonedata in same units as the original datarelativedata is in percentages of the total; for subgroups in percentage of the parent group
Type:
- string
- Source:
(static) operation :string
Operation:
countcount the number of elements in the groupsumsum the elements in the groupaveragetake the average of the elements in the group
Type:
- string
- Source:
(static) rank :number
When part of a aggregates, this deterimines the ordering
Type:
- number
- Source: