bb_title | R Documentation |
Add title to Billboard.js chart
bb_title(bb, text = NULL, padding = NULL, position = "top-center", ...)
bb |
A |
text |
The chart title. |
padding |
A named list with |
position |
A string specifying the position of the title. |
... |
Additional arguments. |
A billboard
htmlwidget
object.
bb_labs
billboarder() %>%
bb_barchart(data = table(sample(letters, 100, TRUE))) %>%
bb_title(text = "Random letters", position = "center")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.