legend_action {echarts4r} | R Documentation |
Legend
Description
Legend
Usage
e_legend_select(e, name, btn = NULL)
e_legend_unselect(e, name, btn = NULL)
e_legend_toggle_select(e, name, btn = NULL)
e_legend_scroll(e, scroll_index = NULL, legend_id = NULL, btn = NULL)
Arguments
e |
An |
name |
Legend name. |
btn |
A |
scroll_index |
Controle the scrolling of legend when |
legend_id |
Id of legend. |
Examples
e <- CO2 |>
group_by(Type) |>
e_charts(conc) |>
e_scatter(uptake)
e |>
e_legend_unselect("Quebec")
e |>
e_legend_unselect("Quebec", btn = "btn") |>
e_button("btn", "Quebec")
[Package echarts4r version 0.4.5 Index]