2018-07-31 22:56:51 +02:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
% Please edit documentation in R/apex-utils.R
|
|
|
|
\name{ax_title}
|
|
|
|
\alias{ax_title}
|
|
|
|
\title{Chart's title}
|
|
|
|
\usage{
|
2018-08-08 10:48:03 +02:00
|
|
|
ax_title(ax, text = NULL, align = NULL, margin = NULL,
|
|
|
|
offsetX = NULL, offsetY = NULL, floating = NULL, style = NULL,
|
|
|
|
...)
|
2018-07-31 22:56:51 +02:00
|
|
|
}
|
|
|
|
\arguments{
|
|
|
|
\item{ax}{A \code{apexcharts} \code{htmlwidget} object.}
|
|
|
|
|
2018-07-31 23:24:35 +02:00
|
|
|
\item{text}{Text to display as a title of chart.}
|
2018-07-31 22:56:51 +02:00
|
|
|
|
2018-07-31 23:24:35 +02:00
|
|
|
\item{align}{Alignment of subtitle relative to chart area. Possible Options: \code{"left"}, \code{"center"} and \code{"right"}.}
|
2018-07-31 22:56:51 +02:00
|
|
|
|
2018-07-31 23:24:35 +02:00
|
|
|
\item{margin}{Numeric. Vertical spacing around the title text.}
|
2018-07-31 22:56:51 +02:00
|
|
|
|
2018-07-31 23:24:35 +02:00
|
|
|
\item{offsetX}{Numeric. Sets the left offset for subtitle text.}
|
2018-07-31 22:56:51 +02:00
|
|
|
|
2018-07-31 23:24:35 +02:00
|
|
|
\item{offsetY}{Numeric. Sets the top offset for subtitle text}
|
2018-07-31 22:56:51 +02:00
|
|
|
|
2018-07-31 23:24:35 +02:00
|
|
|
\item{floating}{Logical. The floating option will take out the subtitle text from the chart area and make it float on top of the chart.}
|
2018-07-31 22:56:51 +02:00
|
|
|
|
2018-07-31 23:24:35 +02:00
|
|
|
\item{style}{List with two items: \code{fontSize} (Font Size of the title text) and \code{color} (Fore color of the title text).}
|
2018-07-31 22:56:51 +02:00
|
|
|
|
|
|
|
\item{...}{Additional parameters.}
|
|
|
|
}
|
|
|
|
\value{
|
|
|
|
A \code{apexcharts} \code{htmlwidget} object.
|
|
|
|
}
|
|
|
|
\description{
|
|
|
|
Chart's title
|
|
|
|
}
|
2018-09-03 23:52:53 +02:00
|
|
|
\note{
|
|
|
|
See \url{https://apexcharts.com/docs/options/title/}
|
|
|
|
}
|