etoolbox_zoom: Add toolbox zoom button

Description Usage Arguments Examples

View source: R/toolbox.R

Description

Add zoom feature.

Usage

1
2
etoolbox_zoom(p, show = TRUE, title = list(dataZoom = "Area Zoom",
  dataZoomReset = "Reset"))

Arguments

p

an echart object.

show

whether to show zoom.

title

button title.

Examples

1
2
3
4
5
mtcars %>%
  echart(qsec) %>%
  ebar(mpg) %>%
  etoolbox() %>%
  etoolbox_zoom()

JohnCoene/echarts documentation built on May 22, 2021, 6:18 p.m.