Add a gauge.

b_gauge(p, value, full.circle = FALSE, label = list(), expand = TRUE,
  min = 0, max = 100, start.angle = (-1 * pi/2), units = NULL,
  width = NULL)

Arguments

p

an object of class billboard.

value

value to gauge.

full.circle

show full circle as donut. When set to 'true', the max label will not be showed due to start and end points are same location.

label

label settings as list.

expand

set to expand on hover.

min, max

minimum and maxmum values.

start.angle

gauge orientation.

units

set units of gauge.

width

set width of gauge.

Examples

b_board() %>% b_gauge(15, units = "$")