Radzen Pie chart Padding and Series Fill

1.) I have limited space in the screen and I want to fit in Pie Chart to 100px column.

Pie chart size is 36px instead of 100px. Is there any way to full fit in or at least increase the initial size of it.

image

2.) I have static Series for Pie chart and I want to fill Each series with spesific color.

Example: CPU: Green, IO: Blue etc..

How can i achieve this?

Basically I use pie chart like below;

<RadzenPieSeries Data="@listSS" Title="VALUE" CategoryProperty="WAIT_CLASS" ValueProperty="VALUE" TItem="Lists.list_SS" />

You can use something like this to set the radius and center of the pie:

            <RadzenChart style="height: 100px; width: 100px">
                <RadzenPieSeries Radius="50" X="50"  .../>
                <RadzenLegend Visible="false" />
            </RadzenChart>

RadzenChart will use the Fills in the order they are specified - for the first slice (clockwise) the first item etc.

1 Like