custom_axis_formatter: Custom Axis Formatter

Description Usage Format Examples

Description

This is a JS date formatter to be used in dyAxis when it's desired to have the dates on the axis look like "Monday (8/13)", in other words: "Day of the week (MM/DD)"

Usage

1

Format

An object of class character of length 1.

Examples

1
2
3
4
5
## Not run: 
polloi::make_dygraph(data) %>%
 dyAxis("x", axisLabelFormatter = polloi::custom_axis_formatter)

## End(Not run)

wikimedia/wikimedia-discovery-polloi documentation built on Dec. 4, 2019, 2:12 p.m.