PiePlot API
Component demos
Import
import { PiePlot } from '@mui/x-charts/PieChart';
// or
import { PiePlot } from '@mui/x-charts';
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.