powered by
Add title to Billboard.js chart
bb_title(bb, text = NULL, padding = NULL, position = "top-center")
A billboard htmlwidget object.
billboard
htmlwidget
The chart title.
A named list with top, right, bottom, left values.
top
right
bottom
left
A string specifying the position of the title.
bb_labs
# NOT RUN { 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