Back to Devexpress

PieChartBuilder.InnerRadius(Double) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-piechartbuilder-dot-innerradius-x28-system-dot-double-x29.md

latest1.4 KB
Original Source

PieChartBuilder.InnerRadius(Double) Method

Specifies the fraction of the inner radius relative to the total radius in the series of the 'doughnut' type. The value should be between 0 and 1. Mirrors the client-side innerRadius option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public PieChartBuilder InnerRadius(
    double value
)

Parameters

NameTypeDescription
valueDouble

The option value.

|

Returns

TypeDescription
PieChartBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().PieChart()
    .InnerRadius(10)
)

See Also

PieChartBuilder Class

PieChartBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace