b_tooltip.Rd
Add a tooltip.
b_tooltip(p, show = TRUE, grouped = FALSE, order = "asc", ...)
p | an object of class |
---|---|
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. |
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")