New to Telerik UI for .NET MAUI? Start a free 30-day trial

.NET MAUI Pie Chart

The Pie Chart visualizes its data points by using the radial coordinate system. Each data point is represented as a slice from a pie. The ratio between the space consumed by each slice and the space consumed by the whole chart is the same as the ratio between the value of the data point that it represents and the total value of all data points in the series.


The Pie Chart supports the following properties:

  • Series—Gets a collection of all series presented by the chart instance.
  • Behaviors—Gets a collection of all enabled behaviors.
  • Palette—Gets or sets the ChartPalette instance that defines the appearance of the chart.
  • PaletteName—Gets or sets the name of the predefined Palette that will be applied to the chart.
  • SelectionPalette—Gets or sets the ChartPalette instance that defines the appearance of the chart for the selected series and/or data points.
  • SelectionPaletteName—Gets or sets the name of the predefined SelectionPalette that will be applied to the chart.


The Pie Chart supports the Pie Series, which visualize a single series of data in a pie chart. The sweep of a pie slice is directly proportional to the magnitude of the data point values.


1. Define the RadPieChart:


2. Add the series to the RadPieChart.Series collection:

    <telerik:PieSeries ItemsSource="{Binding Data}">
            <telerik:PropertyNameDataPointBinding PropertyName="Value"/>

3. Set the BindingContext of the chart if none of its parents has a context:


Pie Chart Example

The following example shows the full definition of the chart.

1. Create the needed business object, for example:

public class CategoricalData
    public object Category { get; set; }
    public double Value { get; set; }

2. Create a ViewModel:

public class ViewModel
    public ObservableCollection<CategoricalData> Data { get; set; }

    public ViewModel()
        this.Data = GetCategoricalData();

    private static ObservableCollection<CategoricalData> GetCategoricalData()
        var data = new ObservableCollection<CategoricalData>
            new CategoricalData { Category = "Greenings", Value = 52 },
            new CategoricalData { Category = "Perfecto", Value = 19 },
            new CategoricalData { Category = "NearBy", Value = 82 },
            new CategoricalData { Category = "Family", Value = 23 },
            new CategoricalData { Category = "Fresh", Value = 56 },
        return data;

3. Declare a RadPieChart with a Pie Series in XAML:

        <local:ViewModel />
        <telerik:PieSeries ShowLabels="True"
                           ItemsSource="{Binding Data}" />

The following image shows the end result:

Pie Chart

See Also

In this article