v_specs_tooltip {vchartr} | R Documentation |
Set tooltip options
Description
Set tooltip options
Usage
v_specs_tooltip(vc, ..., .reset = FALSE)
Arguments
vc |
An htmlwidget created with |
... |
Options for the tooltip, see examples or online documentation. |
.reset |
Reset previous tooltip configuration before updating. |
Value
A vchart()
htmlwidget
object.
Examples
library(vchartr)
data("mpg", package = "ggplot2")
vchart(table(Class = mpg$class, Year = mpg$year)) %>%
v_bar(aes(Class, Freq, fill = Year)) %>%
v_specs_tooltip(
visible = FALSE
)
[Package vchartr version 0.1.4 Index]