Customise tooltip

e_tooltip(e, trigger = c("item", "axis"), ...)

Arguments

e

An echarts4r object as returned by e_charts.

trigger

What triggers the tooltip, one of item or item.

...

Any other option to pass, check See Also section.

See also

Examples

USArrests %>% e_charts(Assault) %>% e_bar(Murder) %>% e_tooltip()