Skip to content

The open alternative to Salesforce, designed for AI.

Update pie chart inner padding (#16121)

Raphaël Bosi20e6f130d15c
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetPieChart/components/GraphWidgetPieChart.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetPieChart/components/GraphWidgetPieChart.tsx
index 591906dcee0..3feaecf55b9 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetPieChart/components/GraphWidgetPieChart.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/graphWidgetPieChart/components/GraphWidgetPieChart.tsx
@@ -129,7 +129,7 @@ export const GraphWidgetPieChart = ({
data={chartData}
margin={showDataLabels && !hasNoData ? PIE_CHART_MARGINS : {}}
innerRadius={0.8}
- padAngle={hasNoData ? 0 : 1}
+ padAngle={hasNoData ? 0 : 0.4}
colors={chartColors}
borderWidth={0}
enableArcLinkLabels={showDataLabels && !hasNoData}