ThomUK / SPCreporter

Creates Metric Reports using Statistical Process Control in the NHS style
https://thomuk.github.io/SPCreporter/
Other
6 stars 2 forks source link

Option to switch x axis data labels frequency when n > ? #123

Open francisbarton opened 5 months ago

francisbarton commented 5 months ago

When you have 50 or more x-axis labels (eg months) they can get quite cluttered. Potentially option to thin these out a bit by shifting date labels from "1 month" to "2 months" or more. This would help with readability.

This is more of a PTD/MDC feature perhaps (I know it's important to follow MDC standards) but I do sometimes think it would be nice to have faint vertical lines or background shading that matches certain periods eg per year. This might also help with readability.

ThomUK commented 5 months ago

Yes I agree on both points. Would be good to be able to thin the x axis labels when it gets too cluttered. May also be helpful to draw a faint vertical line at the start of each calendar year. This is out of scope for NHSRplotthedots, but we could add the ggplot object within this package.