Skip to content

upsetjs_r in R shiny, how to align set name to left #85

Answered by sgratzl
baeywen asked this question in Q&A
Discussion options

You must be logged in to vote

there is https://upset.js.org/api/react/interfaces/upsetpropsg.html#setlabelalignment in the library. You can try to set it via chartProps(setLabelAlignment='left')

listInput <- list(one = c(1, 2, 3, 5, 7, 8, 11, 12, 13), two = c(1, 2, 4, 5, 10), three = c(1, 5, 6, 7, 8, 9, 10, 12, 13))
upsetjs() %>% fromList(listInput) %>% interactiveChart() %>% chartProps(setLabelAlignment='left')

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@baeywen
Comment options

Answer selected by baeywen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants