We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Overview

The Blazor Pie Chart is a circular graphic, which is ideal for displaying proportional values between different categories. Pie charts support animation and interactive features such as tooltip and selection.


Pie legend

Legends are used to show information about each point, to know about its contribution towards the total sum. You can collapse the point using legend click.


Custom radius

Customize the radius of the pie to change the look and functionality of the Blazor Chart.


Start and end angle

Customize the start and end angles of the Chart to achieve the semi-pie.


Data label

Data labels display information about data points. Add a template to display data labels with HTML elements such as images, DIV, and spans for more informative data labels. You can rotate a data label by its given angle.


Smart labels

Arranges data labels smartly to avoid overlapping when the data point values fall in close range.


Grouped points

Group the points in Blazor Pie Chart based on certain conditions. The grouped slices can be split into individual points by clicking the slice.


Drilldown Operation

Focus-in on the data within the data using drilldown operation.


Different radius

Customize the radius of individual slice using built-in APIs.


Pie Center

Move the center of the pie relative to the plot area.


Customization

Customize the look and feel of the pie using built-in APIs.


Blazor Pie Chart Code Example

Easily get started with Blazor Pie Chart using a few simple lines of C# code, as demonstrated below. Also explore our Blazor Pie Chart example that shows you how to render and configure the chart.

@using Syncfusion.Blazor.Charts

<SfAccumulationChart Title="Mobile Browser Statistics">
    <AccumulationChartSeriesCollection>
        <AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users"
                                 Name="Browser">
        </AccumulationChartSeries>
    </AccumulationChartSeriesCollection>

    <AccumulationChartLegendSettings Visible="true"></AccumulationChartLegendSettings>
</SfAccumulationChart>

@code{
    public class Statistics
    {
        public string Browser { get; set; }
        public double Users { get; set; }
    }

    public List<Statistics> StatisticsDetails = new List<Statistics>
{
        new Statistics { Browser = "Chrome", Users = 37 },
        new Statistics { Browser = "UC Browser", Users = 17 },
        new Statistics { Browser = "iPhone", Users = 19 },
        new Statistics { Browser = "Others", Users = 4  },
        new Statistics { Browser = "Opera", Users = 11 },
        new Statistics { Browser = "Android", Users = 12 },
    };
}

Not sure how to create your first Blazor Pie Chart? Our documentation can help.


Blazor Components – 85+ UI and DataViz Components

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon