#AreaChart remove margin/padding

5 messages · Page 1 of 1 (latest)

modest matrix
#

How to remove left margin/padding?

Code:
<AreaChart w="100%" h={189} data={data} dataKey="month" series={[ { name: "value", color: "var(--color-primary-blue)", label: "Hours Read and Earnings" }, ]} curveType="bump" tickLine="xy" gridAxis="xy" strokeWidth={2} connectNulls areaChartProps={{ margin: { top: 0, left: 0, right: 0, bottom: 0, }, }} />

modest matrix
#

AreaChart remove margin/padding

modest matrix
#

help?

stoic turret
#

You can research recharts documentation for this issue. I do not see these margins on the mantine.dev website.

modest matrix