timeUnit method

VlChartMark timeUnit(
  1. String unit
)

Which part of an instant to read: year, month, yearmonth, hours and the rest.

unit The time unit.

Returns This mark, so calls chain.

Implementation

VlChartMark timeUnit(String unit) {
  return this.setOnCursor("timeUnit", VlJson.stringValue(unit));
}