amTooltip | R Documentation |
Create list of settings for a tooltip.
amTooltip( text, textColor = NULL, textAlign = "middle", backgroundColor = NULL, backgroundOpacity = 0.6, borderColor = NULL, borderWidth = 2, pointerLength = 10, scale = 1, auto = FALSE )
text |
text to display in the tooltip; this should be a formatting string |
textColor |
text color |
textAlign |
alignement of the text, can be |
backgroundColor |
background color of the tooltip |
backgroundOpacity |
background opacity |
borderColor |
color of the border of the tooltip |
borderWidth |
width of the border of the tooltip |
pointerLength |
length of the pointer |
scale |
scale factor |
auto |
logical, whether to use automatic background color and text color |
A list of settings for a tooltip.
A color can be given by the name of a R color, the name of a CSS
color, e.g. "transparent"
or "fuchsia"
, an HEX code like
"#ff009a"
, a RGB code like "rgb(255,100,39)"
, or a HSL code
like "hsl(360,11,255)"
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.