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:
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.