Configure the tooltip.

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

g2(cars, asp(speed, dist, color = dist)) %>% fig_point() %>% conf_tooltip(crosshairs = "path")