Pushout

sample image

View model

using System.Collections.Generic;
using LiveChartsCore;
using LiveChartsCore.SkiaSharpView;
using CommunityToolkit.Mvvm.ComponentModel;

namespace ViewModelsSamples.Pies.Pushout;

[ObservableObject]
public partial class ViewModel
{
    public ISeries[] Series { get; set; } =
    {
        new PieSeries<double> { Values = new List<double> { 3 }, Pushout = 4 },
        new PieSeries<double> { Values = new List<double> { 3 }, Pushout = 4 },
        new PieSeries<double> { Values = new List<double> { 3 }, Pushout = 4 },
        new PieSeries<double> { Values = new List<double> { 2 }, Pushout = 4 },
        new PieSeries<double> { Values = new List<double> { 5 }, Pushout = 30 }
    };
}

HTML

@page "/Pies/Pushout"
@using LiveChartsCore.SkiaSharpView.Blazor
@using ViewModelsSamples.Pies.Pushout

<PieChart
	Series="ViewModel.Series">
</PieChart>

@code {
	public ViewModel ViewModel { get; set; } = new();
}

Articles you might also find useful: