Adjust chart margins
Adjusted left margin to 50px and right margin to 30px.
This commit is contained in:
@@ -17,7 +17,7 @@ const ExpenseChart: React.FC<ExpenseChartProps> = ({ data }) => {
|
||||
return (
|
||||
<div className="neuro-card h-64 desktop-card">
|
||||
<ResponsiveContainer width="100%" height="100%">
|
||||
<PieChart margin={{ left: 60, right: 20, top: 20, bottom: 20 }}>
|
||||
<PieChart margin={{ left: 50, right: 30, top: 20, bottom: 20 }}>
|
||||
<Pie
|
||||
data={data}
|
||||
cx="50%"
|
||||
|
||||
Reference in New Issue
Block a user