Set or modify x axis labels.
Arguments
- bb
A
billboard
htmlwidget
object.- categories
A character vector to set names on a category axis.
Note
This function can be used with billboarder-shiny
to modify labels on axis, e.g. for barcharts.
Examples
# Simple line with month names as x labels
billboarder() %>%
bb_linechart(data = round(rnorm(12))) %>%
bb_categories(categories = month.name)