CSS code required to add waratah-styled tooltips to interactive graphs created using ggiraph
Usage
tooltip_css(
font_family = NULL,
font_size = NULL,
background_color = NULL,
text_color = NULL
)
Arguments
- font_family
Font family for text in tooltips (default: "Public Sans")
- font_size
Font size for text in tooltips (default: "11px")
- background_color
Hover background colour (default: #22272b)
- text_color
Hover text colour (default: #F2F2F2)
Value
A character vector containing CSS styles for tooltips