Options
All
  • Public
  • Public/Protected
  • All
Menu
upsetjs/react

https://github.com/upsetjs/upsetjs

Copyright (c) 2021 Samuel Gratzl sam@sgratzl.com

Hierarchy

Index

Properties

Optional alternatingBackgroundColor

alternatingBackgroundColor?: string | false

color used to highlight alternating background in the sets for easier comparison set to false to disable alternating pattern

Optional bandScale

bandScale?: "band"

Optional barLabelOffset

barLabelOffset?: number

offset of the label on top or left of a bar

default

2

Optional barPadding

barPadding?: number

padding argument for scaleBand

default

0.1

Optional color

color?: string

main color to render bars and dark dots

default

black

Optional combinationName

combinationName?: string

combination axis label

default

Intersection Size

Optional combinationNameAxisOffset

combinationNameAxisOffset?: number | "auto"

offset of the combination name from the combination y axis. 'auto' means that it will be guessed according to the current values

default

auto

Optional dotPadding

dotPadding?: number

padding factor the for dots

default

0.7

Optional emptySelection

emptySelection?: boolean

render empty selection for better performance

default

true

Optional exportButtons

exportButtons?: boolean | UpSetExportOptions

show export buttons

default

true

Optional filled

filled?: boolean

whether to fill the circles

default

false

Optional fontFamily

fontFamily?: string | false

specify the overall font family, set to false to use the default font family

default

sans-serif

Optional fontSizes

fontSizes?: UpSetFontSizes

specify font sizes for different sub elements

Optional hasSelectionColor

hasSelectionColor?: string

main color used when a selection is present

default

undefined

Optional hasSelectionOpacity

hasSelectionOpacity?: number

main opacity used when a selection is present

default

undefined

Optional height

height?: number

height of the chart

Optional heightRatios

heightRatios?: [number]

height ratios for different plots, if a number larger than 1 is given, it is interpreted as pixel values [intersection chart, set chart = derived]

default

[0.6]

Optional hoverHintColor

hoverHintColor?: string

color for the hover hint rects for set combinations

Optional notMemberColor

notMemberColor?: string

color for dots that indicate it is not a member

Optional numericScale

numericScale?: "linear" | "log"

Optional opacity

opacity?: number

main opacity

default

undefined

Optional padding

padding?: number

padding within the svg

default

5

Optional queryLegend

queryLegend?: boolean

show a legend of queries enabled by default when queries are set

Optional selectionColor

selectionColor?: string

color used to highlight the selection

default

orange

Optional setLabelAlignment

setLabelAlignment?: "left" | "center" | "right"

alignment for the set labels

default

'center'

Optional setName

setName?: string

set axis label

default

Set Size

Optional setNameAxisOffset

setNameAxisOffset?: number | "auto"

offset of the set name from the set x axis. 'auto' means that it will be guessed according to the current values

default

auto

Optional strokeColor

strokeColor?: string

stroke color to render around sets or cells

default

black

Optional textColor

textColor?: string

main color to render text

default

black

Optional theme

theme?: UpSetThemes

basic theme of the plot either 'light' or 'dark'

default

light

Optional tooltips

tooltips?: boolean

whether to render tooltips aka title attributes

default

true

Optional valueTextColor

valueTextColor?: string

main color to render text

default

black

Optional width

width?: number

width of the chart

Optional widthRatios

widthRatios?: [number, number]

width ratios for different plots, if a number larger than 1 is given, it is interpreted as pixel values [set chart, set labels, intersection chart = derived]

default

[0.21, 0.19]