Add a line.

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

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.

connect

set if null data point will be connected or not.

Examples

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