Blazor Pie with Legend Chart Example.
This sample displays internet usage statistics by country using a doughnut chart with legends positioned at the bottom for easy reference.
In this example, you can see how to render a doughnut chart with integrated legend functionality. Customize the doughnut appearance using the following properties:
- Radius - Controls the outer size of the doughnut
- InnerRadius - Controls the inner hollow area size
- Legend text wrapping using the
TextWrapproperty for improved readability
More information about the legend feature can be found in this documentation section.