Skip to contentSkip to content

PieArcLabel API

API reference docs for the React PieArcLabel component. Learn about the props, CSS, and other APIs of this exported module.

Demos

Import

import { PieArcLabel } from '@mui/x-charts/PieChart';
// or
import { PieArcLabel } from '@mui/x-charts';
// or
import { PieArcLabel } from '@mui/x-charts-pro/PieChart';
// or
import { PieArcLabel } from '@mui/x-charts-pro';
// or
import { PieArcLabel } from '@mui/x-charts-premium/PieChart';
// or
import { PieArcLabel } from '@mui/x-charts-premium';

Learn about the difference by reading this guide on minimizing bundle size.

Props

NameTypeDescription
arcLabelRadius*number
color*string
cornerRadius*number
endAngle*number
isFaded*bool
isHighlighted*bool
paddingAngle*number
seriesId*string
skipAnimation*bool
startAngle*number
classesPartial

See CSS classes API below for more details.

formattedArcLabelstring
hiddenbool
The component cannot hold a ref.

Source code

If you did not find the information in this page, consider having a look at the implementation of the component for more detail.