Fixed mobile layout in Pie Chart and in table

This commit is contained in:
Luis-Hebendanz
2023-08-14 15:56:31 +02:00
parent 362379cdac
commit b112969d87
3 changed files with 30 additions and 14 deletions

View File

@@ -37,6 +37,20 @@ export default function NodePieChart(props: Props) {
dataKey="value"
nameKey="name"
label={showLabels}
legendType="circle"
cx="50%"
cy="50%"
startAngle={0}
endAngle={360}
paddingAngle={0}
labelLine={true}
hide={false}
minAngle={0}
isAnimationActive={true}
animationBegin={0}
animationDuration={1000}
animationEasing="ease-in"
blendStroke={true}
>
{data.map((entry, index) => (
<Cell key={`cell-${index}`} fill={entry.color} />