Replies: 4 comments 3 replies
-
Hi @N-bl-t , thanks for your kind words! I checked and realized that there is a conditional formatting in By deselecting you mean something like this, setting the rule parameters to some duplicated value?: x <- c(-67, -33, 0, 33, 67)
wb <- wb_workbook()
wb$add_worksheet()
wb$add_data(x = x, colNames = FALSE)
wb$add_conditional_formatting(
dims = wb_dims(x = x),
rule = c(0, 0, 0, 33, 67),
type = "iconSet",
params = list(
percent = FALSE,
iconSet = "5Arrows",
reverse = TRUE)
) I only use basic conditional formatting myself, you might have to educate me what you want to do. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hey @JanMarvin! As for my testing of your suggested code, this is the result of running it, Unsure why I couldn't reach your output, I tried however to convert it to the "3-Stars" in Excel: As a result, the complete IconSet of the 3-Stars shows up. Unsure whether it is my version of Excel, or else, I once more ask for your feedback. Once more, thank you for your answer! |
Beta Was this translation helpful? Give feedback.
-
Hey @JanMarvin! Sorry for the longest delay in returning to your question! Thank you (again!) for your answer in advance! |
Beta Was this translation helpful? Give feedback.
-
Hey, Jan, and all contributors to openxlsx2!
I have been wishing to use the conditional formatting in my tables, however, the "5-Arrows" setting doesn't quite fit the kind of work I am meaning to do. That being said, would it be possible to add other symbols to the conditional formating commands of the package? I am mainly interested in using the "3 Stars" symbols in my tables, but would welcome any new addition.
Additionally, would also like to ask about the possibility to work further in the conditional formatting parameters, such as to deselect the symbols in the list I wish unapplied to the tables.
Thank you all for your answer!
And thank you very much for this awesome package, and for your work!
Beta Was this translation helpful? Give feedback.
All reactions