eheatmap: Add heatmap

Description Usage Arguments See Also Examples

View source: R/add.R

Description

Add heatmap.

Usage

1
2
3
4
5
6
7
eheatmap(p, y, values, name = NULL, clickable = TRUE, blurSize = 30,
  minAlpha = 0.5, valueScale = 1, opacity = 1, z = 2, zlevel = 0,
  gradientColors, tooltip, ...)

eheatmap_(p, y, values, name = NULL, clickable = TRUE, blurSize = 30,
  minAlpha = 0.5, valueScale = 1, opacity = 1, z = 2, zlevel = 0,
  gradientColors, tooltip, ...)

Arguments

p

an echart object.

y

yaxis values.

values

heat.

name

name of serie.

clickable

whether chart is clickable.

blurSize

size of points blur.

minAlpha

minimum transparency.

valueScale

values multiplier.

opacity

opacity of heatmap.

z, zlevel

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

gradientColors

colors used for gradient as a list i.e.:list("red", "blue")

tooltip

cutomise tooltip.

...

any other options to pass to heatmap.

See Also

official heatmap docs

Examples

1
2
3
4
5
6
set.seed(19880525)
matrix <- data.frame(x = runif(150, 10, 500), y = runif(150, 10, 500), z = runif(150, 10 , 200))

matrix %>%
  echart(x) %>%
  eheatmap(y, z)

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