Basic Gauge

sample image

View model

using System.Collections.Generic;
using LiveChartsCore;
using LiveChartsCore.SkiaSharpView;

namespace ViewModelsSamples.Pies.Gauge1;

public class ViewModel
{
    public IEnumerable<ISeries> Series { get; set; }
        = new GaugeBuilder()
        .WithMaxColumnWidth(30)
        .AddValue(30)
        .BuildSeries();
}

HTML

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

<style>
	.sample-wrap {
		display: inline-block;
		max-width: 400px
	}
</style>

<div class="sample-wrap">
	<PieChart
		Series="ViewModel.Series"
		InitialRotation="-90"
		Total="100">
	</PieChart>
</div>

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

Articles you might also find useful: