Truncated text on x-axis for XY chart when using angle prop #1414
Answered
by
williaster
dalyemmett
asked this question in
Q&A
-
Hey guys, Back again. I've another issue. When I have a really long label for a x-axis tick and I add a rotation angle for the tick, the label text is clipped by the parent boundaries. I've updated a codesandbox here Any ideas how I can increase the x-axis space? |
Beta Was this translation helpful? Give feedback.
Answered by
williaster
Jan 14, 2022
Replies: 1 comment
-
Hey @dalyemmett you just need to adjust the chart https://codesandbox.io/s/ecstatic-rosalind-kk8ic?file=/src/App.js |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dalyemmett
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @dalyemmett you just need to adjust the chart
margin
(docs)https://codesandbox.io/s/ecstatic-rosalind-kk8ic?file=/src/App.js