Configure the tooltip applied to the entire chart.
See gauge_tooltip()
to customise a specific tooltip
(the tooltip of a specific figure).
tooltip(g, ...)
g | An object of class |
---|---|
... | Options to pass to the axis, pass |
g2(mtcars, asp(drat, qsec, color = hp)) %>% fig_point() %>% tooltip( showCrosshairs = TRUE, crosshairs = list(type = "xy") )