Learn R Programming

echarts4r (version 0.2.0)

tooltip_action: Show & Hide Tooltip

Description

Show or hide tooltip.

Usage

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.

Examples

Run this code
# NOT RUN {
cars %>% 
  e_charts(dist) %>% 
  e_scatter(speed) %>% 
  e_tooltip() %>% 
  e_hidetip(btn = "btn") %>% 
  e_button("btn", "Hide tooltip")

# }

Run the code above in your browser using DataLab