Set categories on X axis
Set or modify x axis labels.
bb_categories(bb, categories)
bb |
A |
categories |
A character vector to set names on a category axis. |
A billboard
htmlwidget
object.
This function can be used with billboarder-shiny
to modify labels on axis, e.g. for barcharts.
# Simple line with month names as x labels billboarder() %>% bb_linechart(data = round(rnorm(12))) %>% bb_categories(categories = month.name)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.