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