Example of undefined in Javascript Chart Control

/
/
Pie with Legend

This sample shows statistics on expenditure made in a year using the donut chart with legends shown at the right side of the chart.

More Details...

Description

In this example, you can see how to render a doughnut chart with legends. You can use Radius and InnerRadius properties to render the doughnut. Here, the legend text is wrapped using the TextWrap 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 legend in pie series can be found in this documentation section.