We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set size of pie/doughnut?

Platform: Xamarin.Forms |
Control: SfChart

The CircularCoefficient property determines the size of pie and doughnut series based on the available size in chart. It takes value from 0 to 1. The default value of this property is 0.8. So, pie and doughnut series takes 80 percentage of the available size (size allocated to render the series after placing the legend and chart title) of the chart, by default. The following code example illustrates this.


        <chart:PieSeries …
                 CircularCoefficient="0.5" />


PieSeries pieSeries = new PieSeries();
pieSeries.CircularCoefficient = 0.5;

The following screenshot illustrates the output of above code snippet.


Size modified pie chart in Xamarin.Forms

2X faster development

The ultimate Xamarin UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile