PiePlot API
Demos
For examples and details on the usage of this React component, visit the component demo pages:
Import
import { PiePlot } from '@mui/x-charts/PieChart';
// or
import { PiePlot } from '@mui/x-charts';Props
Callback fired when a pie item is clicked.
Type:
funcSignature:
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.