function
Source: DonutChart.tsx ↗
DonutChart()
Donut chart shows data as proportional segments of a disc and has a hollowed out center.
export declare function DonutChart(props: IDonutChartProps): import("react/jsx-runtime").JSX.Element;
Parameters
Parameter | Type | Description |
|---|---|---|
props |
Returns
import(“react/jsx-runtime”).JSX.Element
Remarks
Donut charts can be segmented by either multiple measures or an attribute, and allow viewers to visualize component parts of a whole.
Note: the donut chart slices are by default sorted from largest to smallest. There is also a limit on the number of slices that will be charted.
See IDonutChartProps to learn how to configure the DonutChart anddonut chart documentation for more information.