Show or hide tooltip.

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

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

Arguments

e

An echarts4r object as returned by e_charts.

...

Any options, see official documentation

btn

A e_button id.

Note

The tooltip must be initialised with e_tooltip for this to work.

Examples

cars %>% e_charts(dist) %>% e_scatter(speed) %>% e_tooltip() %>% e_hidetip(btn = "btn") %>% e_button("btn", "Hide tooltip")