Example of undefined in Javascript Chart Control

Pie with Legend

This sample illustrates the donut series with smooth animation on dynamic update of data. The legend will be displayed at right side of the chart.

More Details...


In this example, you can see how to render doughnut chart. You can use radius and innerRadius properties to render the doughnut and also use border, fill properties to customize the point. dataLabel is used to represent individual data and its value. Here the legend text is wrapped using 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.