Skip to content

Commit b2693dd

Browse files
committed
fix(PieChart): reapply fix from #499
1 parent e2111ed commit b2693dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/charts/src/components/PieChart/PieChart.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ const PieChart: FC<PieChartProps> = forwardRef((props: PieChartProps, ref: Ref<a
9999
);
100100

101101
const label = useMemo(() => {
102+
if(measure.hideDataLabel) return null;
102103
return {
103104
position: 'outside',
104105
content: measure.DataLabel,

0 commit comments

Comments
 (0)