chartLabels | R Documentation |
specify chart labels
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 )
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 |
the object given as first argument
upsetjs() %>% fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>% chartLabels(set.name = "Test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.