timeunit_y {vegalite} | R Documentation |
How to encode y-axis time values
Description
How to encode y-axis time values
Usage
timeunit_y(vl, unit)
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
Examples
# see timeunit_y()
[Package vegalite version 0.6.1 Index]