Add a title to the chart.

b_title(p, title = NULL, position = "top-center", ...)

Arguments

p

an object of class billboard.

title

chart title.

position

title position.

...

any other parameter.

Examples

mtcars %>% b_board(wt) %>% b_scatter(mpg) %>% b_title("Chart title", position = "top-right")