add margin for diagram

This commit is contained in:
smanylov
2025-12-16 10:17:26 +07:00
parent ee1575cac7
commit 3d57486030
+2 -2
View File
@@ -16,13 +16,13 @@ export const PieChartComponent = ({ data }: {
> >
<ResponsiveContainer width={200} height={200}> <ResponsiveContainer width={200} height={200}>
<PieChart> <PieChart>
<text x={100} y={80} className="pie-char-text"> <text x={100} y={75} className="pie-char-text">
0 0
</text> </text>
<text x={100} y={100} className="pie-char-text"> <text x={100} y={100} className="pie-char-text">
{t('out-of')} {t('out-of')}
</text> </text>
<text x={100} y={120} className="pie-char-text"> <text x={100} y={125} className="pie-char-text">
0 0
</text> </text>
<Pie <Pie