c3_selection: Data Select

Description Usage Arguments Value Examples

View source: R/options.R

Description

Define options for selecting data within the plot area

Usage

1
2
3
c3_selection(c3, enabled = FALSE, grouped = FALSE, multiple = FALSE,
  draggable = FALSE, isselectable = JS("function () { return true; }"),
  ...)

Arguments

c3

c3 htmlwidget object

enabled

boolean

grouped

boolean

multiple

boolean

draggable

boolean

isselectable

character js function, wrap character or character vector in JS()

...

additional options passed to data selection object

Value

c3

Examples

1
2
3
4
data.frame(a = c(1,2,3,2), b = c(2,3,1,5)) %>%
  c3() %>%
  c3_selection(enabled = TRUE,
               multiple = TRUE)

c3 documentation built on March 16, 2020, 5:07 p.m.