Learn R Programming

billboarder (version 0.5.0)

bb_bar: Bar property for a Billboard.js chart

Description

Bar property for a Billboard.js chart

Usage

bb_bar(bb, ...)

Value

A billboard

htmlwidget object.

Arguments

bb

A billboard htmlwidget object.

...

See https://naver.github.io/billboard.js/release/latest/doc/Options.html#.bar

Examples

Run this code
billboarder() %>%
  bb_barchart(data = data.frame(v1 = c("a", "b", "c"), value = c(5, 6, 3))) %>% 
  bb_bar(width = list(ratio = 0.95))
  

Run the code above in your browser using DataLab