bb_data {billboarder}R Documentation

Add data to Billboard chart

Description

Add data to Billboard chart

Usage

bb_data(bb, ...)

Arguments

bb

A billboard htmlwidget object.

...

Arguments defined in https://naver.github.io/billboard.js/demo/.

Value

A billboard htmlwidget object.

Note

This function can be used with billboarderProxy in shiny application.

Examples

billboarder() %>%
 bb_barchart(data = table(mtcars$cyl)) %>%
 bb_data(names = list(Freq = "Number of cylinders"), labels = TRUE)
 

[Package billboarder version 0.4.1 Index]