34 lines
1.2 KiB
R
34 lines
1.2 KiB
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/apex-options.R
|
|
\name{bar_opts}
|
|
\alias{bar_opts}
|
|
\title{Bar options}
|
|
\usage{
|
|
bar_opts(horizontal = NULL, endingShape = NULL, columnWidth = NULL,
|
|
barHeight = NULL, distributed = NULL, colors = NULL,
|
|
dataLabels = NULL, ...)
|
|
}
|
|
\arguments{
|
|
\item{horizontal}{Logical. This option will turn a column chart into a horiontal bar chart.}
|
|
|
|
\item{endingShape}{Available Options: \code{"flat"}, \code{"rounded"} or \code{"arrow"}.}
|
|
|
|
\item{columnWidth}{In column charts, columnWidth is the percentage of the available width in the grid-rect.}
|
|
|
|
\item{barHeight}{In horizontal bar charts, barHeight is the percentage of the available height in the grid-rect.}
|
|
|
|
\item{distributed}{Logical. Turn this option to make the bars discrete. Each value indicates one bar per series.}
|
|
|
|
\item{colors}{A list of parameters.}
|
|
|
|
\item{dataLabels}{List with fields \code{position} (available options: \code{"top"}, \code{"center"} or \code{"bottom"})}
|
|
|
|
\item{...}{Additional parameters.}
|
|
}
|
|
\description{
|
|
Use these options in \code{\link{ax_plotOptions}}.
|
|
}
|
|
\note{
|
|
See \url{https://apexcharts.com/docs/options/plotoptions/bar/}.
|
|
}
|