conf_tooltip: Tooltip

Description Usage Arguments Examples

View source: R/style.R

Description

Configure the tooltip.

Usage

1

Arguments

g2

An object of class g2r as returned by g2r.

...

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

Examples

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

JohnCoene/g2r documentation built on March 6, 2021, 8:11 p.m.