chartLabels {upsetjs} | R Documentation |
specify chart labels
Description
specify chart labels
Usage
chartLabels(
upsetjs,
title = NULL,
description = NULL,
combination.name = NULL,
combination.name.axis.offset = NULL,
set.name = NULL,
set.name.axis.offset = NULL,
bar.label.offset = NULL
)
Arguments
upsetjs |
an object of class |
title |
the chart title |
description |
the chart description |
combination.name |
the label for the combination chart |
combination.name.axis.offset |
the offset of the combination label from the axis in pixel |
set.name |
the label for the set chart |
set.name.axis.offset |
the offset of the set label from the axis in pixel |
bar.label.offset |
the offset of the bar label from the bar in pixel |
Value
the object given as first argument
Examples
upsetjs() %>%
fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>%
chartLabels(set.name = "Test")
[Package upsetjs version 1.11.1 Index]