ezoom: Add data zoom

Description Usage Arguments See Also Examples

View source: R/options.R

Description

Add data zoom.

Usage

1
2
3
4
5
ezoom(p, show = TRUE, zlevel = 0, z = 4, orient = "horizontal",
  backgroundColor = "rgba(0,0,0,0)", dataBackgroundColor = "#eee",
  fillerColor = "rgba(144,197,237,0.2)",
  handleColor = "rgba(70,130,180,0.8)", handleSize = 8, start = 0,
  end = 100, showDetail = TRUE, realtime = FALSE, zoomLock = FALSE, ...)

Arguments

p

an echart object.

show

whether to show the data zoom.

z, zlevel

first and second grade cascading control, the higher z the closer to the top.

orient

orientation, takes vertical or horinzontal.

backgroundColor

background color.

dataBackgroundColor

background color of data zoom.

fillerColor

fill color of selected area.

handleColor

color of data zoom handle.

handleSize

size of handle.

start, end

percent start and end.

showDetail

whether to show detail when dragging.

realtime

set to TRUE if using real time data.

zoomLock

when set to true, the selected area cannot be zoomed.

...

any other options to pass to data zoom.

See Also

official dataZoom docs

Examples

1
2
3
4
mtcars %>%
  echart(disp) %>%
  eline(mpg) %>%
  ezoom()

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