Remove unnecessary chart elements

Removes label lines from pie charts and percentage display from payment method chart.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-22 12:49:50 +00:00
parent b67ebf4631
commit 2a1fc6aa7a
2 changed files with 3 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ const ExpenseChart: React.FC<ExpenseChartProps> = ({ data }) => {
outerRadius={60}
paddingAngle={5}
dataKey="value"
labelLine={true}
labelLine={false}
label={({ name, percent }) => (
`${name} ${(percent * 100).toFixed(0)}%`
)}