Example of Pie with Legend in ASP.NET Core Chart Control
This sample shows statistics on expenditure made in a year using the donut chart with legends shown at the right side of the chart.
DEMO
SOURCE
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.
More information about the legend feature can be found in this documentation section.