We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://recharts.org/en-US/examples/SimpleRadarChart
Just look at the demo in the documentation
Bottom label is not supposed to touch the component, there's supposed to be some gap, like with all other labels
Label is touching the component
Example picture =>
Is there a way to fix it, or configure the label distance?
The text was updated successfully, but these errors were encountered:
Hi,
You can create your own ticks with the tick prop
tick
<PolarAngleAxis dataKey="subject" tick={(props) => { const { payload, ...rest } = props; return ( <text {...rest} y={rest.y + 4}> {payload?.value} </text> ); }} />
Then you can add or subtract from any of the position values to get it where you want
https://codesandbox.io/s/simple-radar-chart-forked-0yqyyg?file=/src/App.tsx:805-1072
This does make sense to fix dig into internally and see what that point is being calculated as - labeling this as a bug/enhancement issue
Sorry, something went wrong.
Looking forward to it!
No branches or pull requests
Reproduction link
https://recharts.org/en-US/examples/SimpleRadarChart
Steps to reproduce
Just look at the demo in the documentation
What is expected?
Bottom label is not supposed to touch the component, there's supposed to be some gap, like with all other labels
What is actually happening?
Label is touching the component
Example picture =>
Is there a way to fix it, or configure the label distance?
The text was updated successfully, but these errors were encountered: