This sample compares countries by population density and total area using various radius in a pie series.
In this example, you can see how to render a donut chart with different radius. You can use the Radius
mapping property to achieve this feature. DataLabels
are used to represent individual data and its values.
Tooltip is enabled in this example. To see the tooltip in action, hover a point or tap a point in touch enabled devices.
Injecting Module
Accumulation Chart component features are segregated into individual feature-wise modules.To use pie chart, you need to inject AccumulationLegend
into services
.
More information about the pie series can be found in this documentation section.