Learn R Programming

upsetjs (version 1.11.1)

upsetjsSizingPolicy: upsetjs sizing policy

Description

upsetjs sizing policy

Usage

upsetjsSizingPolicy(
  defaultWidth = "100%",
  defaultHeight = 400,
  padding = 0,
  browser.fill = TRUE,
  ...
)

Value

An htmlwidgets::sizingPolicy object

Arguments

defaultWidth

defaults to "100%" of the available width

defaultHeight

defaults to 400px tall

padding

defaults to 0px

browser.fill

defaults to TRUE

...

all other arguments supplied to htmlwidgets::sizingPolicy

Examples

Run this code
upsetjs(sizingPolicy = upsetjsSizingPolicy(padding = 20)) %>%
  fromList(list(a = c(1, 2, 3), b = c(2, 3)))

Run the code above in your browser using DataLab