aggregate method

VlChartMark aggregate(
  1. String op
)

How the rows in each group are reduced to one value.

op sum, mean, median, min, max, count and the rest of Vega-Lite's operations.

Returns This mark, so calls chain.

Implementation

VlChartMark aggregate(String op) {
  return this.setOnCursor("aggregate", VlJson.stringValue(op));
}