powered by
Add title to Billboard.js chart
bb_title(bb, text = NULL, padding = NULL, position = "top-center", ...)
A `billboard` `htmlwidget` object.
The chart title.
A named list with `top`, `right`, `bottom`, `left` values.
A string specifying the position of the title.
Additional arguments.
[bb_labs()]
billboarder() %>% bb_barchart(data = table(sample(letters, 100, TRUE))) %>% bb_title(text = "Random letters", position = "center")
Run the code above in your browser using DataLab