Add toolbox interface.
Arguments
- e
An
echarts4r
object as returned bye_charts
or a proxy as returned byecharts4rProxy
.- feature
Feature to add, defaults to all.
- ...
Any other option to pass, check See Also section.
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")
)