Add title to Billboard.js chart
Arguments
- bb
A
billboard
htmlwidget
object.- text
The chart title.
- padding
A named list with
top
,right
,bottom
,left
values.- position
A string specifying the position of the title.
- ...
Additional arguments.
Examples
billboarder() %>%
bb_barchart(data = table(sample(letters, 100, TRUE))) %>%
bb_title(text = "Random letters", position = "center")