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
)
A list of settings for a tooltip.
text to display in the tooltip; this should be a formatting string
text color
alignement of the text, can be "start"
,
"middle"
, or "end"
background color of the tooltip
background opacity
color of the border of the tooltip
width of the border of the tooltip
length of the pointer
scale factor
logical, whether to use automatic background color and text color