Add a tooltip.

b_tooltip(p, show = TRUE, grouped = FALSE, order = "asc", ...)

Arguments

p

an object of class billboard.

show

set to show tooltip.

grouped

set if tooltip is grouped or not for the data points.

order

set tooltip data display order.

...

any other parameter.

Examples

mtcars %>% b_board(wt) %>% b_spline(mpg) %>% b_spline(drat, axis = "y2") %>% b_tooltip(grouped = TRUE) %>% b_xgrid(show = FALSE) %>% b_grid_line(14, "x = 14")