-
I am learning upsetjs_r in R shiny. my set name is too long, that is hidden behind the plot. I do not want to change the ration by chartLayout(). is there anyway to make the set name align to the left. The default is to align to the middle. |
Beta Was this translation helpful? Give feedback.
Answered by
sgratzl
Sep 24, 2021
Replies: 1 comment 1 reply
-
there is https://upset.js.org/api/react/interfaces/upsetpropsg.html#setlabelalignment in the library. You can try to set it via 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') |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
baeywen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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')