amTooltip {rAmCharts4} | R Documentation |
Tooltip
Description
Create list of settings for a tooltip.
Usage
amTooltip(
text,
textColor = NULL,
textAlign = "middle",
backgroundColor = NULL,
backgroundOpacity = 0.6,
borderColor = NULL,
borderWidth = 2,
pointerLength = 10,
scale = 1,
auto = FALSE
)
Arguments
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 |
Value
A list of settings for a tooltip.
Note
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)"
.
[Package rAmCharts4 version 1.6.0 Index]