etoolbox_feature: Add toolbox feature

Description Usage Arguments Examples

View source: R/toolbox.R

Description

Add toolbox feature.

Usage

1
etoolbox_feature(p, mark, dataZoom, dataView, magicType, restore, saveAsImage)

Arguments

p

an echart object.

mark

markLine icons see etoolbox_mark.

dataZoom

dataZoom icons etoolbox_zoom.

dataView

dataView icons etoolbox_view.

magicType

magicType icons etoolbox_magic.

restore

restore icon etoolbox_restore.

saveAsImage

saveAsImage icon etoolbox_save.

Examples

1
2
3
4
5
6
mtcars %>%
  echart(qsec) %>%
  ebar(mpg) %>%
  etoolbox() %>%
  etoolbox_magic(type = list("line", "bar")) %>%
  etoolbox_feature(restore = list(show = TRUE))

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