e_toolbox_feature {echarts4r}R Documentation

Toolbox

Description

Add toolbox interface.

Usage

e_toolbox_feature(e, feature, ...)

e_toolbox(e, ...)

Arguments

e

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

feature

Feature to add, defaults to all.

...

Any other option to pass, check See Also section.

Details

Valid feature:

See Also

Additional arguments

Examples

USArrests |>
  e_charts(UrbanPop) |>
  e_line(Assault) |>
  e_area(Murder, y_index = 1, x_index = 1) |>
  e_datazoom(x_index = 0)

mtcars |>
  tibble::rownames_to_column("model") |> 
  e_charts(model) |>
  e_line(qsec) |>
  e_toolbox() |>
  e_toolbox_feature(
    feature = "magicType",
    type = list("line", "bar")
  )

[Package echarts4r version 0.4.5 Index]