timeunit_y: How to encode y-axis time values

Description Usage Arguments References Examples

View source: R/time.r

Description

How to encode y-axis time values

Usage

1

Arguments

vl

Vega-Lite object

unit

the property of a channel definition sets the level of specificity for a temporal field. Currently supported values are 'year', 'yearmonth', 'yearmonthday', 'yearmonthdate', 'yearday', 'yeardate', 'yearmonthdayhours' and 'yearmonthdayhoursminutes' for non-periodic time units & 'month', 'day', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds' and 'secondsmilliseconds' for periodic time units.

References

Vega-Lite Time Unit

Examples

1
# see timeunit_y()

vegalite documentation built on May 30, 2017, 1:57 a.m.