etoolbox_restore: Add toolbox restore button

Description Usage Arguments Examples

View source: R/toolbox.R

Description

Add toolbox restore button.

Usage

1
etoolbox_restore(p, show = TRUE, title = "Reset")

Arguments

p

an echart object.

show

whether to show button.

title

title of button.

Examples

1
2
3
4
5
6
mtcars %>%
  echart(disp) %>%
  ebar(mpg, stack = "grp") %>% # stack
  ebar(qsec, stack = "grp") %>% # stack
  ebar(wt) %>% # not stacked
  etoolbox_restore()

JohnCoene/echarts documentation built on May 4, 2018, 8:04 a.m.