boxplot_opts: Boxplot options

View source: R/apex-options.R

boxplot_optsR Documentation

Boxplot options

Description

Use these options in ax_plotOptions().

Usage

boxplot_opts(color.upper, color.lower, ...)

Arguments

color.upper

Color for the upper quartile (Q3 to median) of the box plot.

color.lower

Color for the lower quartile (median to Q1) of the box plot.

...

Additional parameters.

Value

A list of options that can be used in ax_plotOptions().

Note

See https://apexcharts.com/docs/options/plotoptions/boxplot/.

Examples

data("mpg", package = "ggplot2")
apex(mpg, aes(class, hwy), "boxplot") %>% 
  ax_plotOptions(
    boxPlot = boxplot_opts(color.upper = "#848484", color.lower = "#848484" )
  )

apexcharter documentation built on July 9, 2023, 7:55 p.m.