Anonymous View
Skip to contentSkip 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

Props of the native component are also available.

NameTypeDefaultDescription
onItemClickfunc-

Callback fired when a funnel item is clicked.

Signature:function(event: React.MouseEvent<SVGElement, 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.

Slots

Slot nameClass nameDefault componentDescription
funnelSectionFunnelSectionCustom component for funnel section.
funnelSectionLabelFunnelSectionLabelCustom component for funnel section label.

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.