Donut
Donut charts are circular charts which represent a variation of the Pie charts and are capable of displaying multiple nested series.
You can utilize the blank center of a Donut chart to show additional information in it.
Basic Usage
The following example demonstrates the Donut chart in action.
Displaying Multiple Series
The Donut chart renders multiple series in the form of concentric rings. This behavior is different from the behavior of the Pie chart, which supports only one series.
Displaying Information in the Center
To display content in the center of the Donut chart, either:
Using the Center Template
The center template is an HTML overlay that is positioned over the center of the Donut chart. To implement the content use the donutCenterRender render prop of the Chart
component.
While documents which are exported through the HTML Drawing API display the content of the center template, vector graphics and exported files do not render it.
Using Drawing Visuals
Similar to the other Chart types, you can overlay the Donut series with custom drawing elements. The approach of using drawing visuals is more flexible than using the donut center template and also has the advantage that the overlay is part of the chart drawing surface. As a result, all exported files render the content of the donut center as an integral element of the component.