Class RadzenDonutSeries<TItem>
Renders donut series in RadzenChart.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenDonutSeries<TItem> : RadzenPieSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IDisposable, IChartDonutSeries
Type Parameters
| Name | Description |
|---|---|
| TItem | The type of the series data item. |
Constructors
RadzenDonutSeries()
Renders donut series in RadzenChart.
Declaration
public RadzenDonutSeries()
Properties
InnerRadius
Gets or sets the inner radius of the donut.
Declaration
[Parameter]
public double? InnerRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| double? | The inner radius. |
TitleTemplate
Gets or sets the title template.
Declaration
[Parameter]
public RenderFragment TitleTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderFragment | The title template. |
Methods
BuildRenderTree(RenderTreeBuilder)
Renders donut series in RadzenChart.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
Render(ScaleBase, ScaleBase)
Renders the series with the specified category and value scales.
Declaration
public override RenderFragment Render(ScaleBase categoryScale, ScaleBase valueScale)
Parameters
| Type | Name | Description |
|---|---|---|
| ScaleBase | categoryScale | The category scale. |
| ScaleBase | valueScale | The value scale. |
Returns
| Type | Description |
|---|---|
| RenderFragment | RenderFragment. |
Overrides
RenderTitle(double, double)
Renders the title.
Declaration
public RenderFragment RenderTitle(double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| double | x | The x. |
| double | y | The y. |
Returns
| Type | Description |
|---|---|
| RenderFragment | RenderFragment. |