Learn R Programming

apexcharter (version 0.4.4)

ax_states: Charts' states

Description

Charts' states

Usage

ax_states(ax, normal = NULL, hover = NULL, active = NULL, ...)

Value

An apexchart()

htmlwidget object.

Arguments

ax

An apexchart() htmlwidget object.

normal

A list of parameters.

hover

A list of parameters.

active

A list of parameters.

...

Additional parameters.

Examples

Run this code
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"
      )
    )
  )

Run the code above in your browser using DataLab