Example of Pie with Legend in ASP.NET Core Chart Control
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.
In this example, you can see how to render and configure the pie chart. You can use border
and fill
properties to customize the pie point. dataLabel
is used to represent individual data and its value.
Here the legend text is wrapped using textWrap
property.