eoptions: Add global options

Description Usage Arguments Examples

View source: R/options.R

Description

Add global options.

Usage

1
2
eoptions(p, backgroundColor = NULL, renderAsImage = FALSE,
  calculable = FALSE, color = NULL, symbolList = NULL, ...)

Arguments

p

an echart object.

backgroundColor

background color.

renderAsImage

allows rendering as image.

calculable

specifies whether the drag-recalculate feature will be enabled.

color

colors to use in chart.

symbolList

list of default symbols.

...

any other options.

Examples

1
2
3
4
mtcars %>%
  echart(mpg) %>%
  eline(qsec) %>%
  eoptions(backgroundColor = "black")

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