Example of Pie Legend in Javascript Chart Control

/
/
Pie with Legend

This sample shows statistics on internet usage by country using the donut chart with legends shown at the bottom of the chart.

More Details...

Description

In this example, you can see how to render a donut chart with legends. You can use radius and innerRadius properties to render the donut. 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 legend in pie series can be found in this documentation section.