sortBy method

VlChartMark sortBy(
  1. String field
)

The order a discrete scale runs in, taken from another column.

field The column to sort by.

Returns This mark, so calls chain.

See also keepOrder.

Implementation

VlChartMark sortBy(String field) {
  return this.setOnCursor("sort", VlJson.stringValue(field));
}