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 doughnut 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. In addition, the sample shows how to change the order of legends for the doughnut chart by using the Reverse
property.
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.