This sample shows statistics on expenditure made in a year using the donut chart with legends shown at the right side of the chart.
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
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.