Add toolbox interface.

e_toolbox_feature(e, feature, ...)

e_toolbox(e, ...)

Arguments

e

An echarts4r object as returned by e_charts.

feature

Feature to add, defaults to all.

...

Any other option to pass, check See Also section.

Details

Valid feature:

  • saveAsImage

  • brush

  • restore

  • dataView

  • dataZoom

  • magicType

See also

Examples

USArrests %>% e_charts(UrbanPop) %>% e_line(Assault) %>% e_area(Murder, y_index = 1, x_index = 1) %>% e_datazoom(x_index = 0) mtcars %>% dplyr::mutate(model = row.names(.)) %>% e_charts(model) %>% e_line(qsec) %>% e_toolbox() %>% e_toolbox_feature( feature = "magicType", type = list("line", "bar") )