bb_gauge {billboarder}R Documentation

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.

...

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

Value

A billboard htmlwidget object.

Examples

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;}")))
           

[Package billboarder version 0.3.1 Index]