SankeyPlot API - MUI XSkip to contentSkip to content🚀 Material UI and MUI X v9 are out! Check out the announcement blogpost. Search… v9.5.0 What's new in MUI XIntroductionCommon conceptsData GridDate and Time PickersChartsOverviewQuickstartExamplesComponentsBarsLinesPieScatterSparklineGaugeRadarHeatmapFunnelSankeyCandlestickRadial BarsRadial LinesMapPreviewFuture componentsPlannedMain featuresAccessibilityAnimationAxesBrushCustom componentsCompositionDatasetData Grid integrationNewExportHighlightingLabelLegendLocalizationPerformanceStackingStylingRadial axesReferencesToolbarTooltipZoom and panContent Security PolicyResourcesAPI referenceAnimatedAreaAnimatedLineAreaElementAreaPlotBarChartBarChartPremiumBarChartProBarElementBarLabelBarPlotBarPlotPremiumCandlestickChartCandlestickPlotChartsAxisChartsAxisHighlightChartsAxisHighlightValueChartsAxisTooltipContentChartsBrushOverlayChartsClipPathChartsContainerChartsContainerPremiumChartsContainerProChartsDataProviderChartsDataProviderPremiumChartsDataProviderProChartsGeoDataProviderPremiumChartsGridChartsItemTooltipContentChartsLegendChartsLocalizationProviderChartsRadialAxisHighlightChartsRadialDataProviderChartsRadialDataProviderPremiumChartsRadialGridChartsRadiusAxisChartsReferenceLineChartsRotationAxisChartsSurfaceChartsTextChartsToolbarImageExportTriggerChartsToolbarPrintExportTriggerChartsToolbarProChartsToolbarRangeButtonTriggerChartsToolbarZoomInTriggerChartsToolbarZoomOutTriggerChartsTooltipChartsTooltipContainerChartsWrapperChartsXAxisChartsYAxisChartsZoomSliderContinuousColorLegendFocusedFunnelSectionFocusedHeatmapCellFocusedMapShapeFocusedRadarMarkFocusedRangeBarFocusedSankeyLinkFocusedSankeyNodeFunnelChartFunnelPlotGaugeGaugeContainerGeoDataPlotGraticuleHeatmapHeatmapCellHeatmapPlotHeatmapPremiumHeatmapTooltipHeatmapTooltipContentHighlightedScatterMarkLineChartLineChartProLineElementLineHighlightElementLineHighlightPlotLinePlotMapShapeMapShapePlotMarkElementMarkPlotPieArcPieArcLabelPieArcLabelPlotPieArcPlotPiecewiseColorLegendPieChartPieChartProPiePlotRadarAxisRadarAxisHighlightRadarChartRadarChartProRadarGridRadarMetricLabelsRadarSeriesAreaRadarSeriesMarksRadarSeriesPlotRadialAreaPlotRadialBarChartRadialBarPlotRadialLineChartRadialLineHighlightPlotRadialLinePlotRadialMarkPlotRangeBarPlotSankeyChartSankeyDataProviderSankeyPlotSankeyTooltipSankeyTooltipContentScatterScatterChartScatterChartPremiumScatterChartProScatterPlotScatterPlotPremiumSparkLineChartToolbarToolbarButtonInterfacesAxisConfigBarSeriesFunnelSeriesHeatmapSeriesLineSeriesPieSeriesRadarSeriesScatterSeriesLegendItemParamsChartImageExportOptionsChartPrintExportOptionsHooksPluginsTree ViewSchedulerPreviewChatPreviewMigrationSankeyPlot API
Edit this page Search…
MUI X
ChartsAPI reference docs for the React SankeyPlot component. Learn about the props, CSS, and other APIs of this exported module.
DemosFor examples and details on the usage of this React component, visit the component demo pages:
Charts - SankeyImportimport { SankeyPlot } from '@mui/x-charts-pro/SankeyChart';
// or
import { SankeyPlot } from '@mui/x-charts-pro';Learn about the difference by reading this guide on minimizing bundle size.
Renders a Sankey diagram plot.
PropsView:tableProps of the native component are also available.
NameTypeDescriptionclassesobjectClasses applied to the various elements.
See CSS classes API below for more details.
onLinkClickfuncCallback fired when a sankey item is clicked.
Signature:function(event: React.MouseEvent, link: SankeyLinkIdentifierWithData) => voidevent The event source of the callback.link The sankey link identifier.onNodeClickfuncCallback fired when a sankey item is clicked.
Signature:function(event: React.MouseEvent, node: SankeyNodeIdentifierWithData) => voidevent The event source of the callback.node The sankey node identifier.The component cannot hold a ref.Source codeIf you did not find the information in this page, consider having a look at the implementation of the component for more detail.
Was this page helpful?
•
Blog•
StoreContents
DemosImportPropsclassesonLinkClickonNodeClickSource codeBecome a Diamond sponsorMUI stands in solidarity with Ukraine.SankeyPlot API - MUI X,AI智能索引,全网链接索引,智能导航,网页索引
- API reference docs for the React SankeyPlot component. Learn about the props, CSS, and other APIs of this exported module.