This sample shows statistics on internet usage by country using the donut chart with legends shown at the bottom of the chart.
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
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.