maxBins method

VlChartMark maxBins(
  1. int count
)

Bins the cursor channel's column into at most this many buckets.

count The upper bound on the number of bins.

Returns This mark, so calls chain.

See also bin.

Implementation

VlChartMark maxBins(int count) {
  VlJson b = VlJson.objectValue();
  b.setMember("maxbins", VlJson.intValue(count));
  return this.setOnCursor("bin", b);
}