Replies: 1 comment
-
Ok <XAxis
dataKey="date"
padding={{ left: -4, right: -4 }}
/> helped in my case. Would be cool if this wouldn't be necessary |
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
-
Hey,
how can I align the beginning of a chart in a responsive container?
Currently my
ResponsiveContainer
aligns exactly with the surrounding div.But the is always a little padding between
ResponsiveContainer
and the chart elements (e.g.CartesianGrid
orArea
)Is there a way to align everything within
ResponsiveContainer
without any margins/paddings?Beta Was this translation helpful? Give feedback.
All reactions