Add an area spline.

b_area_spline(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_area_spline(mpg) mtcars %>% b_board() %>% b_area_spline(mpg, stack = TRUE) %>% b_area_spline(drat, stack = TRUE) mtcars %>% b_board() %>% b_area_spline(mpg) %>% b_area_spline(drat, axis = "y2")