Description Usage Arguments References Examples
How to encode y-axis time values
1 | timeunit_y(vl, unit)
|
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. |
1 | # see timeunit_y()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.