What is the use of PieCoefficient property in .NET MVC Chart?
The PieCoefficient property determines the size of Pie Chart based on the available size in Chart area. It takes value from 0 to 1. The default value of this property is 0.8. That is, by default, Pie Chart takes 80 percentage of the available size (size allocated to render Pie series after placing legend and data labels) in Chart area. The following code example illustrates this.
CSHTML
@(Html.EJ().Chart("container") .Border(border=>border.Color("black").Width(2)) .CommonSeriesOptions(options=> options.Type(SeriesType.Pie).PieCoefficient(0.7)) )
The following screenshot illustrates the Pie Chart taking 70% of available space in Chart area.
Figure 1: Pie Chart taking 70% of available space in Chart area
Conclusion
I hope you enjoyed learning on the use of PieCoefficient property.
You can refer to our ASP.NET MVC Charts feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our ASP.NET MVC Charts example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!