Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bb_title

Add title to Billboard.js chart


Description

Add title to Billboard.js chart

Usage

bb_title(bb, text = NULL, padding = NULL, position = "top-center", ...)

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.

Value

A billboard htmlwidget object.

See Also

Examples

billboarder() %>% 
  bb_barchart(data = table(sample(letters, 100, TRUE))) %>% 
  bb_title(text = "Random letters", position = "center")

billboarder

Create Interactive Chart with the JavaScript 'Billboard' Library

v0.3.1
MIT + file LICENSE
Authors
Victor Perrier [aut, cre], Fanny Meyer [aut], NAVER Corp [cph] (billboard.js library), Mike Bostock [cph] (d3.format library)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.