runcharter
runcharter copied to clipboard
Turn off facet labels
The package was always designed to produce multiple charts at once, so having facet labels by default makes perfect sense.
However, for reporting of individual metrics, it would be good to be able to turn off the facet label when only one chart/ group is present.
The easiest way would be to add another parameter and put the onus on the user to set it to FALSE as required .. facet_labels = TRUE
alternatively, a check to count groups and ask the user if they want them turned off? Personally, I don't want my code to be interrupted to ask for confirmation when its run as part of a scheduled task - so option 1 seems right
- [ ] function documentation
- [ ] unit tests
- [ ] readme examples
- [ ] articles
theme(strip.text = element_blank())