apexcharter/man/label.Rd

59 lines
1.3 KiB
Plaintext
Raw Normal View History

2020-04-03 15:26:01 +02:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/annotations.R
\name{label}
\alias{label}
\title{Label for annotations}
\usage{
label(
borderColor = NULL,
borderWidth = NULL,
text = NULL,
textAnchor = NULL,
position = NULL,
offsetX = NULL,
offsetY = NULL,
background = NULL,
color = NULL,
fontSize = NULL,
fontWeight = NULL,
fontFamily = NULL,
cssClass = NULL,
padding = NULL
)
}
\arguments{
\item{borderColor}{Border Color for the label.}
\item{borderWidth}{Border width for the label.}
\item{text}{Text for tha annotation label.}
\item{textAnchor}{The alignment of text relative to labels drawing position.}
\item{position}{Available options: left or right.}
\item{offsetX}{Sets the left offset for annotation label.}
\item{offsetY}{Sets the top offset for annotation label.}
\item{background}{Background Color for the annotation label.}
\item{color}{ForeColor for the annotation label.}
\item{fontSize}{FontSize for the annotation label.}
\item{fontWeight}{Font-weight for the annotation label.}
\item{fontFamily}{Font-family for the annotation label.}
\item{cssClass}{A custom Css Class to give to the annotation label elements.}
\item{padding}{Padding for the label: top, right, bottom, left.}
}
\value{
A \code{list} that can be used in \code{\link{add_shade}}.
}
\description{
Label for annotations
}