scaleType method

VlChartMark scaleType(
  1. String kind
)

The kind of scale the cursor channel uses.

kind linear, log, sqrt, time, band, point and the rest.

Returns This mark, so calls chain.

Implementation

VlChartMark scaleType(String kind) {
  VlJson s = VlJson.objectValue();
  s.setMember("type", VlJson.stringValue(kind));
  return this.setOnCursor("scale", s);
}