Label for annotations
label(
text = NULL,
borderColor = NULL,
borderWidth = NULL,
textAnchor = NULL,
position = NULL,
offsetX = NULL,
offsetY = NULL,
background = NULL,
color = NULL,
fontSize = NULL,
fontWeight = NULL,
fontFamily = NULL,
cssClass = NULL,
padding = c(2, 5, 2, 5)
)
A list
that can be used in add_shade
, add_point
,
add_event
, add_event_marker
.
Text for the annotation label.
Border color for the label.
Border width for the label.
The alignment of text relative to label's drawing position.
Available options: left or right.
Sets the left offset for annotation label.
Sets the top offset for annotation label.
Background Color for the annotation label.
ForeColor for the annotation label.
FontSize for the annotation label.
Font-weight for the annotation label.
Font-family for the annotation label.
A custom Css Class to give to the annotation label elements.
Padding for the label: top, right, bottom, left.