% Generated by roxygen2: do not edit by hand % Please edit documentation in R/apex-utils.R \name{ax_responsive} \alias{ax_responsive} \title{Responsive options} \usage{ ax_responsive(ax, ...) } \arguments{ \item{ax}{An \code{\link[=apexchart]{apexchart()}} \code{htmlwidget} object.} \item{...}{Additional parameters.} } \value{ An \code{\link[=apexchart]{apexchart()}} \code{htmlwidget} object. } \description{ Responsive options } \note{ See \url{https://apexcharts.com/docs/options/responsive/} } \examples{ data("mpg", package = "ggplot2") # Open in browser and resize window apex( data = mpg, mapping = aes(x = manufacturer, fill = year), type = "bar" ) \%>\% ax_legend(position = "right") \%>\% ax_responsive( list( breakpoint = 1000, options = list( plotOptions = list( bar = list( horizontal = FALSE ) ), legend = list( position = "bottom" ) ) ) ) }