apexcharter/man/ax_dataLabels.Rd

40 lines
1.1 KiB
R
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apex-utils.R
\name{ax_dataLabels}
\alias{ax_dataLabels}
\title{Labels on data}
\usage{
ax_dataLabels(ax, enabled = NULL, textAnchor = NULL, offsetX = NULL,
offsetY = NULL, style = NULL, dropShadow = NULL,
formatter = NULL, ...)
}
\arguments{
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.}
\item{enabled}{To determine whether to show dataLabels or not.}
\item{textAnchor}{The alignment of text relative to dataLabels drawing position.
Accepted values \code{"start"}, \code{"middle"} or \code{"end"}.}
\item{offsetX}{Sets the left offset for dataLabels.}
\item{offsetY}{Sets the top offset for dataLabels.}
\item{style}{A list of parameters.}
\item{dropShadow}{A list of parameters.}
\item{formatter}{The formatter function takes in a single value and allows you to format the value before displaying}
\item{...}{Additional parameters.}
}
\value{
A \code{apexcharts} \code{htmlwidget} object.
}
\description{
Labels on data
}
\note{
See \url{https://apexcharts.com/docs/options/datalabels/}
}