Learn R Programming

upsetjs (version 1.11.1)

chartFontSizes: specify chart font sizes

Description

specify chart font sizes

Usage

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
)

Value

the object given as first argument

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

Examples

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

Run the code above in your browser using DataLab