Slim Gauge

This web site builds the control from code behind but you could also grab it from the toolbox, this sample also uses a ViewModel to populate the properties of the control(s) in this sample.

sample image

View model

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

namespace ViewModelsSamples.Pies.Gauge4;

public partial class ViewModel : ObservableObject
    public IEnumerable<ISeries> Series { get; set; }
        = new GaugeBuilder()
        .WithLabelFormatter(point => point.PrimaryValue.ToString())

        .AddValue(50, "Vanessa")
        .AddValue(80, "Charles")
        .AddValue(95, "Ana")


Form code behind

using System.Windows.Forms;
using LiveChartsCore.SkiaSharpView.WinForms;
using ViewModelsSamples.Pies.Gauge4;

namespace WinFormsSample.Pies.Gauge4;

public partial class View : UserControl
    private readonly PieChart pieChart;

    public View()
        Size = new System.Drawing.Size(50, 50);

        var viewModel = new ViewModel();

        pieChart = new PieChart
            Series = viewModel.Series,
            InitialRotation = -90,
            MaxAngle = 350,
            Total = 100,

            // out of livecharts properties...
            Location = new System.Drawing.Point(0, 0),
            Size = new System.Drawing.Size(50, 50),
            Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.Bottom


Articles you might also find useful: