Skip to content

FunnelPlot API

API reference docs for the React FunnelPlot component. Learn about the props, CSS, and other APIs of this exported module.

Demos

Import

import { FunnelPlot } from '@mui/x-charts-pro/FunnelChart';
// or
import { FunnelPlot } from '@mui/x-charts-pro';

Learn about the difference by reading this guide on minimizing bundle size.

Props

NameTypeDefaultDescription
onItemClickfunc-

Callback fired when a funnel item is clicked.

Signature:function(event: React.MouseEvent, funnelItemIdentifier: FunnelItemIdentifier) => void
  • event The event source of the callback.
  • funnelItemIdentifier The funnel item identifier.
slotPropsobject{}

The props used for each component slot.

slotsobject{}

Overridable component slots.

See Slots API below for more details.

The component cannot hold a ref.

Source code

If you did not find the information in this page, consider having a look at the implementation of the component for more detail.