Skip to contents

Interaction property for a Billboard.js chart

Usage

bb_interaction(bb, ...)

Arguments

bb

A `billboard` `htmlwidget` object.

...

See <https://naver.github.io/billboard.js/release/latest/doc/Options.html#.interaction>

Value

A `billboard` `htmlwidget` object.

Examples

# Disable interactions
billboarder() %>%
  bb_linechart(data = c(1, 3, 2, 5, 4)) %>%
  bb_interaction(enabled = FALSE)
# Only mouse input billboarder() %>% bb_linechart(data = c(1, 3, 2, 5, 4)) %>% bb_interaction(inputType = list(touch = FALSE))