MUI X
This page groups demonstration using pie charts.
<PieChart series={[ { startAngle: -90, endAngle: 90, data, }, ]} height={300} />
<PieChart series={[ { outerRadius: 80, data, arcLabel: getArcLabel, }, ]} sx={{ [`& .${pieArcLabelClasses.root}`]: { fill: 'white', fontSize: 14, }, }} {...sizing} />
<PieChart series={[{ data, innerRadius: 80 }]} {...size}> <PieCenterLabel>Center label</PieCenterLabel> </PieChart>
item id: undefined item identifier: undefined
See the documentation below for a complete reference to all of the props and classes available to the components mentioned here.
<PieArc />
<PieArcLabel />
<PieArcLabelPlot />
<PieArcPlot />
<PieChart />
<PiePlot />
Contents