Learn R Programming

g2r (version 0.1.0)

conf_tooltip: Tooltip

Description

Configure the tooltip.

Usage

conf_tooltip(g2, ...)

Arguments

g2

An object of class g2r as returned by g2r.

...

Configuration options or a logical indicating whether to show the tooltip.

Examples

Run this code
# NOT RUN {
g2(cars, asp(speed, dist, color = dist)) %>% 
  fig_point() %>% 
  conf_tooltip(crosshairs = "path")

# }

Run the code above in your browser using DataLab