add margin for diagram
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user