specify chart font sizes

chartFontSizes(
  upsetjs,
  font.family = NULL,
  chart.label = NULL,
  set.label = NULL,
  axis.tick = NULL,
  bar.label = NULL,
  legend = NULL,
  title = NULL,
  description = NULL,
  export.label = NULL,
  value.label = NULL
)

Arguments

upsetjs

an object of class upsetjs or upsetjs_proxy

font.family

specify the font family to render

chart.label

font size of the chart label, default: 16px

set.label

font size of the set label, default: 10px

axis.tick

font size of the axis tick, default: 16px

bar.label

font size of the bar label, default: 10px

legend

font size of the legend label, default: 10px

title

font size of the chart title, default: 24px

description

font size of the chart description, default: 16px

export.label

font size of the export label, default: 10px

value.label

font size of the value label, (venn diagram only) default: 12px

Value

the object given as first argument

Examples

upsetjs() %>%
  fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>%
  chartFontSizes(font.family = "serif")