Reduce chart size
Reduce the size of the chart elements.
This commit is contained in:
@@ -17,13 +17,13 @@ const ExpenseChart: React.FC<ExpenseChartProps> = ({ data }) => {
|
|||||||
return (
|
return (
|
||||||
<div className="neuro-card h-64 desktop-card">
|
<div className="neuro-card h-64 desktop-card">
|
||||||
<ResponsiveContainer width="100%" height="100%">
|
<ResponsiveContainer width="100%" height="100%">
|
||||||
<PieChart margin={{ left: 20, right: 20, top: 20, bottom: 20 }}>
|
<PieChart margin={{ left: 40, right: 40, top: 20, bottom: 20 }}>
|
||||||
<Pie
|
<Pie
|
||||||
data={data}
|
data={data}
|
||||||
cx="50%"
|
cx="50%"
|
||||||
cy="50%"
|
cy="50%"
|
||||||
innerRadius={50}
|
innerRadius={30}
|
||||||
outerRadius={70}
|
outerRadius={50}
|
||||||
paddingAngle={5}
|
paddingAngle={5}
|
||||||
dataKey="value"
|
dataKey="value"
|
||||||
labelLine={true}
|
labelLine={true}
|
||||||
|
|||||||
Reference in New Issue
Block a user