.NET MAUI Spark Charts - Lightweight Micro Charts
- Use simple, lightweight charts that support line, column, area, and win-loss series types.
- Show trends and variations in a series of values, such as average temperature and stock prices.
- Integrate with a data grid to visualize data trends in a small space.
Trusted by the world’s leading companies
Overview
The .NET MAUI Spark Charts are compact charts that help present trends and variations associated with measurements, such as average temperature or stock market activity, in a simple, lightweight, and condensed manner.
.NET MAUI Sparkline Chart code example
Easily get started with the .NET MAUI Sparkline Charts by using a few simple lines of XAML code example as demonstrated below. Also explore our .NET MAUI Sparkline Charts Example that shows you how to render and configure the component in .NET MAUI.
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:model="clr-namespace:SparkLineChartMaui"
xmlns:spark="clr-namespace:Syncfusion.Maui.Toolkit.SparkCharts;assembly=Syncfusion.Maui.Toolkit"
x:Class="SparkChartMaui.MainPage">
<ContentPage.BindingContext>
<model:ViewModel/>
</ContentPage.BindingContext>
<spark:SfSparkLineChart x:Name="SparkLineChart"
ItemsSource="{Binding Data}"
YBindingPath="YValue"/>
</ContentPage>Spark Chart types
There are four types of spark charts for showing data trends: line, column, area, and win-loss.

SparkLine chart
A Sparkline Chart displays data trends over time in a compact format, highlighting general patterns and fluctuations.

SparkColumn chart
A Spark Column Chart is designed to compare values across two or more categories. Vertical bars represent the values.

SparkArea chart
An Spark Area Chart is a line chart with the area under the line filled. It is primarily used when the magnitude of the trend is more important than individual data values.

SparkWinLoss chart
A Spark Win/Loss Chart visualizes win/loss scenarios, such as game results, showing whether each value is positive, negative, or zero.
Markers
Use markers to highlight data points in spark line and spark area charts, making the charts more readable.

Color customization
The default marker color is customizable to improve clarity.

Type customization
The default marker type can be customized to enhance readability by using different types of markers.
Point highlighting
The colors of key data points, such as first, last, high, and low, can be highlighted and customized to emphasize their importance.

First and last point highlighting
The colors of the first and last points in a spark chart can be customized.

High and low point highlighting
The colors of the high and low points in a spark chart can be customized.
.NET MAUI DataViz & UI Controls
Our Customers Love Us
Awards
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.