Learn R Programming

billboarder (version 0.2.4)

bb_gauge: Gauge property for a Billboard.js chart

Description

Gauge property for a Billboard.js chart

Usage

bb_gauge(bb, ...)

Arguments

bb

A billboard htmlwidget object.

Value

A billboard htmlwidget object.

Examples

Run this code
# NOT RUN {
billboarder() %>% 
  bb_gaugechart(value = 50) %>% 
  bb_gauge(min = 0, max = 200, units = "km/h", width = 10,
           label = list(format = htmlwidgets::JS("function(value) {return value;}")))
           
# }

Run the code above in your browser using DataLab