adjusting angled x-axis label positions #1221
Unanswered
fred-spaceape
asked this question in
Q&A
Replies: 1 comment
-
Hi, unfortunately there is no good workaround in this situation. I've submitted an issue: #1227 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a column chart (geom_bar) with a discrete x-axis of m/c dates. I've angled the labels by 45 degrees, but now they don't quite line up nicely. Ideally I'd like the month part to be lined up with the tick mark (right now the tick lines up with the middle of the rotated label).
I think in R ggplot you'd use hjust to fix the justification, but it doesn't seem to do anything when I invoke it in lets-plot.
theme(axis_text_x=element_text(angle=45, hjust=0))
Beta Was this translation helpful? Give feedback.
All reactions