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.
Unfortunately, activation email could not send to your email. Please try again.

How to change the size of the doughnut hole?

You can customize the size of doughnut hole and the size of doughnut by using DoughnutCoefficient property and DoughnutSize property respectively with respect to chart size.

Doughnut size

Doughnut series supports DoughnutSize property that controls the size of the doughnut series with respect to the available chart size. Doughnut series takes the entire chart space when DoughnutSize is 1, it takes value from 0 to 1. By default the value of doughnutSize is 0.8.

CSHTML

 

The following screenshot displays doughnut chart with doughnut size 0.7

Doughnut Coefficient

Doughnut charts are pie charts with a hole at center, whose value is specified using DoughnutCoefficient property. It takes values from 0 to1. By default the value of DoughnutCoefficient property is 0.4

CSHTML

 

The following screenshot displays doughnut chart with doughnut coefficient 0.6

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
3291 01/20/2015 01/20/2015 ASP.NET MVC Chart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.