escatter: Add scatter

Description Usage Arguments Details See Also Examples

View source: R/add.R

Description

Add scatter serie.

Usage

1
2
3
4
5
6
7
escatter(p, serie, size = NULL, name = NULL, clickable = TRUE,
  symbol = NULL, symbolSize = 4, symbolRotate = NULL, large = FALSE,
  largeThreshold = 2000, legendHoverLink = TRUE, z = 2, zlevel = 0, ...)

escatter_(p, serie, size = NULL, name = NULL, clickable = TRUE,
  symbol = NULL, symbolSize = 4, symbolRotate = NULL, large = FALSE,
  largeThreshold = 2000, legendHoverLink = TRUE, z = 2, zlevel = 0, ...)

Arguments

p

an echart object.

serie

value column name to plot.

size

size of points/bubble.

name

of serie.

clickable

whether plot is clickable.

symbol

marker, see details for valid values.

symbolSize

of symbol.

symbolRotate

angle by which symbol is rotated, i.e.: 30.

large

enables large scale scatter.

largeThreshold

threshold of large scale scatter anto-switch.

legendHoverLink

enables legend hover links.

z, zlevel

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

...

any other options to pass to the serie.

Details

Valid values for symbol:

See Also

official scatter options docs

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
mtcars %>%
  echart(disp) %>%
  escatter(mpg, symbol = "emptyCircle") %>%
  exAxis()

mtcars %>%
  echart(disp) %>%
  escatter(mpg, qsec, symbolSize = 15) %>%
  exAxis_value(axisLabel = list(show = FALSE)) %>%
  etheme("mint") %>%
  eanimation(animationEasing = "ElasticOut")

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