Example of Pie with Various Radius in Javascript Chart Control

Pie with Various Radius

This sample compares countries by population density and total area using various radius in a pie series.

More Details...


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 AccumulationChart component features are segregated into individual feature-wise modules. To use legend, we need to Inject AccumulationLegend module using AccumulationChart.Inject(AccumulationLegend) method. More information on the various radius in pie series can be found in this documentation section.