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


The .NET MAUI line chart represents and visualizes time-dependent data to show trends at equal intervals. It supports numeric, category, and date-time axes, and works well with large amounts of data with animation, zooming, and panning.

.NET MAUI line chart documentation

.NET MAUI line Chart

Key features

.NET MAUI chart provides fast line support to display large amount of data

Fast line

The fast line chart is a special kind of line chart that can smoothly render a data collection with a large number of data points.

.NET MAUI vertical line chart

Vertical line chart

The line chart can be transposed vertically to view data from a different perspective.

.NET MAUI line chart with multiple axes

Multiple Axes

Use multiple axes to plot different data sets along two or more axes having different data points and values.

Code example

Easily get started with line chart using a few simple lines of XAML and C# code, as demonstrated below.

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" 
        <chart:SfCartesianChart HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
            <!--Setting BindingContext-->

            <!--Initialize the horizontal axis for the .NET MAUI Cartesian Chart-->

            <!--Initialize the vertical axis for the .NET MAUI Cartesian Chart-->
            <!--Adding LineSeries to the .NET MAUI Cartesian Chart-->
                        ItemsSource="{Binding Data}" 
public class Model
    public string Month { get; set; }

    public double Target { get; set; }

    public Model(string xValue, double yValue)
        Month = xValue;
        Target = yValue;

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

    public ViewModel()
        Data = new ObservableCollection<Model>()
            new Model("Jan", 50),
            new Model("Feb", 70),
            new Model("Mar", 65),
            new Model("Apr", 57),
            new Model("May", 48), 

Learning resources

Navigate to GitHub code used to configure the .NET MAUI Line Chart

GitHub Code

Explore the .NET MAUI line chart example from GitHub to learn how to render and configure charts.

Navigate to the options available in the user guide to customize the .NET MAUI line chart

.NET MAUI line chart user guide

Learn more about the available options to customize line charts.

Navigate to the API references documentation of the .NET MAUI line chart

.NET MAUI line chart API reference

Explore the .NET MAUI line chart APIs.

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