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.
| Name | Type | Description |
|---|---|---|
| arcLabelRadius* | number | |
| color* | string | |
| cornerRadius* | number | |
| endAngle* | number | |
| isFaded* | bool | |
| isHighlighted* | bool | |
| paddingAngle* | number | |
| seriesId* | string | |
| skipAnimation* | bool | |
| startAngle* | number | |
| classes | Partial | See CSS classes API below for more details. |
| formattedArcLabel | string |
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.