Customise X axis ticks.

b_xtick(p, centered = TRUE, count = NULL, culling = NULL, fit = TRUE,
  multiline = TRUE, outer = TRUE, rotate = 0, width = NULL, ...)

Arguments

p

an object of class billboard.

centered

set to center.

count

set to count.

culling

set to trim.

fit

set to fit.

multiline

set to spread on multiple lines.

outer

set to position outside chart.

rotate

degree.

width

width of axis.

...

any other parameter.

Examples

library(dplyr) mtcars %>% mutate(model = rownames(.)) %>% b_board(model) %>% b_spline(mpg) %>% b_spline(drat, axis = "y2") %>% b_xlabel("Model") %>% b_ylabel("Miles per galon") %>% b_ylabel("Rear axle ratio", axis = "y2") %>% b_xaxis(height = 130) %>% b_xtick(rotate = 90, multiline = FALSE)