Customise charts' axis.

b_xaxis(p, show = TRUE, height = NULL, min = NULL, max = NULL,
  padding = NULL, ...)

Arguments

p

an object of class billboard.

show

set to show axis.

height

height of axis.

min, max

minimum and maximum.

padding

axis padding.

...

any other parameter.

Examples

mtcars %>% b_board(drat) %>% b_bar(cyl) %>% b_xlabel("Rear Axle ratio") %>% b_ylabel("Number of cylinders") %>% b_xaxis(padding = list(left = 1, right = 1))