Description Usage Arguments Examples
Add a step-area.
1 2 |
p |
an object of class |
serie |
column of values to plot. |
name |
name of serie. |
stack |
set to stack. |
axis |
axis to plot on, see examples. |
zerobased |
set if min or max value will be 0 on bar chart. |
above |
set to fill area above. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | mtcars %>%
b_board() %>%
b_step_area(mpg)
mtcars %>%
b_board() %>%
b_step_area(mpg, stack = TRUE) %>%
b_step_area(drat, stack = TRUE)
mtcars %>%
b_board() %>%
b_step_area(mpg) %>%
b_step_area(drat, axis = "y2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.