specify theming options

chartTheme(
  upsetjs,
  theme = NULL,
  selection.color = NULL,
  alternating.color = NULL,
  color = NULL,
  has.selection.color = NULL,
  text.color = NULL,
  hover.hint.color = NULL,
  not.member.color = NULL,
  value.text.color = NULL,
  stroke.color = NULL,
  has.selection.opacity = NULL,
  opacity = NULL,
  filled = NULL
)

Arguments

upsetjs

an object of class upsetjs or upsetjs_proxy

theme

theme to use 'dark' or 'light'

selection.color

selection color

alternating.color

alternating background color

color

main bar color

has.selection.color

main color used when a selection is present

text.color

main text color

hover.hint.color

color of the hover hint

not.member.color

color of the dot if not a member

value.text.color

value text color (venn diagram only)

stroke.color

circle stroke color (venn diagram and karnaugh map only)

has.selection.opacity

main opacity used when a selection is present

opacity

main bar opacity

filled

enforce filled circles (venn diagram only)

Value

the object given as first argument

Examples

upsetjs() %>%
  fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>%
  chartTheme(theme = "dark")