Add a step chart.

b_step(p, serie, name = NULL, stack = FALSE, axis = "y")

Arguments

p

an object of class billboard.

serie

column of values to plot.

name

name of serie.

stack

set to stack.

axis

axis to plot on, see examples.

Examples

mtcars %>% b_board() %>% b_step(mpg) mtcars %>% b_board() %>% b_step(mpg, stack = TRUE) %>% b_step(drat, stack = TRUE) mtcars %>% b_board() %>% b_step(mpg) %>% b_step(drat, axis = "y2")