Learn R Programming

upsetjs (version 1.3.1)

chartTheme: specify theming options

Description

specify theming options

Usage

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
)

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 only)

has.selection.opacity

main opacity used when a selection is present

opacity

main bar opacity

Value

the object given as first argument

Examples

Run this code
# NOT RUN {
upsetjs() %>% fromList(list(a=c(1,2,3), b=c(2,3))) %>% chartTheme(theme="dark")

# }

Run the code above in your browser using DataLab