Learn R Programming

upsetjs (version 1.11.1)

interactiveChart: make it an interactive chart

Description

make it an interactive chart

Usage

interactiveChart(upsetjs, value = TRUE, events_nonce = FALSE)

Value

the object given as first argument

Arguments

upsetjs

an object of class upsetjs or upsetjs_proxy

value

whether to enable or disable or set the mode: hover, click, contextMenu

events_nonce

whether to enable send a unique once (event date) for each event to prevent deduplication

Examples

Run this code
upsetjs() %>%
  fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>%
  interactiveChart()

Run the code above in your browser using DataLab