e_visual_map_range: Select Visual Map

View source: R/actions.R

e_visual_map_rangeR Documentation

Select Visual Map

Description

Selects data range of visual mapping.

Usage

e_visual_map_range(e, ..., btn = NULL)

Arguments

e

An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.

...

Any options, see official documentation

btn

A e_button id.

Examples

data("state")

as.data.frame(state.x77) |>
  e_charts(Population) |>
  e_scatter(Income, Frost) |>
  e_visual_map(Frost, scale = e_scale) |>
  e_legend(FALSE) |>
  e_visual_map_range(
    selected = list(60, 120)
  )

echarts4r documentation built on July 9, 2023, 7:26 p.m.