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 eventThe event source of the callback.pieItemIdentifierThe pie item identifier.itemThe pie item.
The component cannot hold a ref.