runcharter icon indicating copy to clipboard operation
runcharter copied to clipboard

Turn off facet labels

Open johnmackintosh opened this issue 3 years ago • 2 comments

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

johnmackintosh avatar Jan 26 '22 21:01 johnmackintosh

  • [ ] function documentation
  • [ ] unit tests
  • [ ] readme examples
  • [ ] articles

johnmackintosh avatar Jan 26 '22 21:01 johnmackintosh

theme(strip.text = element_blank())

johnmackintosh avatar Oct 29 '23 11:10 johnmackintosh