PieArcPlot API
API reference docs for the React PieArcPlot component. Learn about the props, CSS, and other APIs of this exported module.
Component demos
Import
import { PieArcPlot } from '@mui/x-charts/PieChart';
// or
import { PieArcPlot } from '@mui/x-charts';
The radius between circle center and the end of the arc.
Type:number
Default:R_max The maximal radius that fit into the drawing area.
Override the arc attibutes when it is faded.
Type:{ additionalRadius?: number, color?: string, cornerRadius?: number, innerRadius?: number, outerRadius?: number, paddingAngle?: number }
Override the arc attibutes when it is highlighted.
Type:{ additionalRadius?: number, color?: string, cornerRadius?: number, innerRadius?: number, outerRadius?: number, paddingAngle?: number }
Callback fired when a pie item is clicked.
Type:func
Signature:
function(event: React.MouseEvent, pieItemIdentifier: PieItemIdentifier, item: DefaultizedPieValueType) => void
event
The event source of the callback.pieItemIdentifier
The pie item identifier.item
The pie item.
The component cannot hold a ref.