Basic Pie

sample image

Code behind

using Eto.Forms;
using LiveChartsCore.SkiaSharpView.Drawing.Geometries;
using LiveChartsCore.SkiaSharpView.Extensions;
using LiveChartsCore.SkiaSharpView.Painting;
using LiveChartsCore.SkiaSharpView.VisualElements;
using LiveChartsCore.SkiaSharpView.Eto;
using SkiaSharp;

namespace EtoFormsSample.Pies.Basic;

public class View : Panel
{
    private readonly PieChart pieChart;

    public View()
    {
        pieChart = new PieChart
        {
            Series = new[] { 2, 4, 1, 4, 3 }.AsPieSeries(),
            Title = new DrawnLabelVisual(
                new LabelGeometry
                {
                    Text = "My chart title",
                    Paint = new SolidColorPaint(SKColors.Black),
                    TextSize = 25,
                    Padding = new LiveChartsCore.Drawing.Padding(15)
                })
        };

        Content = pieChart;
    }
}

Articles you might also find useful: