R/apex-utils.R
ax_states.Rd
Charts' states
ax_states(ax, normal = NULL, hover = NULL, active = NULL, ...)
A apexcharts htmlwidget object.
apexcharts
htmlwidget
A list of parameters.
Additional parameters.
See https://apexcharts.com/docs/options/states/
data("mpg", package = "ggplot2") # Inverse effect on hover apex( data = mpg, mapping = aes(x = manufacturer), type = "bar" ) %>% ax_states( hover = list( filter = list( type = "darken" ) ) )