syncfusion-maui-toolkit-spark-charts — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited syncfusion-maui-toolkit-spark-charts (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill when implementing the SfSparkChart control in .NET MAUI applications. Spark Charts are lightweight, micro-visualization controls ideal for displaying data trends in compact spaces like dashboards, grids, and reports.
Key Scenarios:
The SfSparkChart is a compact charting control with four built-in chart types:
| Chart Type | Use Case | Best For |
|---|---|---|
| SparkLineChart | Line-based visualization | Identifying trends and patterns |
| SparkAreaChart | Filled area visualization | Emphasizing magnitude of change |
| SparkColumnChart | Vertical bar visualization | Comparing different data values |
| SparkWinLossChart | Win/Loss representation | Showing positive/negative scenarios |
Core Features:
📄 Read: references/getting-started.md
📄 Read: references/chart-types.md
📄 Read: references/markers-and-labels.md
📄 Read: references/styling-and-appearance.md
📄 Read: references/data-binding.md
📄 Read: references/axis-and-ranges.md
// Step 1: Configure handler in MauiProgram.cs
using Syncfusion.Maui.Toolkit.Hosting;
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.ConfigureSyncfusionToolkit()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
});
return builder.Build();
}
}
// Step 2: Create basic SparkLineChart in XAML
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:sparkchart="clr-namespace:Syncfusion.Maui.Toolkit.SparkCharts;assembly=Syncfusion.Maui.Toolkit"
x:Class="SparkChartDemo.MainPage">
<sparkchart:SfSparkLineChart
ItemsSource="{Binding Data}"
YBindingPath="Value"
ShowMarkers="True"
HeightRequest="100"
WidthRequest="150">
</sparkchart:SfSparkLineChart>
</ContentPage>
// Step 3: Bind data from ViewModel
public class SparkDataViewModel
{
public ObservableCollection<DataPoint> Data { get; set; }
public SparkDataViewModel()
{
Data = new ObservableCollection<DataPoint>
{
new DataPoint { Value = 10 },
new DataPoint { Value = 15 },
new DataPoint { Value = 12 },
new DataPoint { Value = 20 },
new DataPoint { Value = 18 }
};
}
}
public class DataPoint
{
public double Value { get; set; }
}// Show quick sales trend in a card
<sparkchart:SfSparkLineChart
ItemsSource="{Binding MonthlySales}"
YBindingPath="Amount"
ShowMarkers="False"
FirstPointFill="Blue"
LastPointFill="Red">
</sparkchart:SfSparkLineChart>// Highlight data within acceptable range using RangeBand
<sparkchart:SfSparkLineChart
ItemsSource="{Binding PerformanceMetrics}"
YBindingPath="Value"
ShowAxis="True"
RangeBandStart="50"
RangeBandEnd="100"
RangeBandFill="LightGreen">
</sparkchart:SfSparkLineChart>// Show positive and negative outcomes
<sparkchart:SfSparkWinLossChart
ItemsSource="{Binding GameResults}"
YBindingPath="Result"
NegativePointsFill="Red">
</sparkchart:SfSparkWinLossChart>// Emphasize critical data points
<sparkchart:SfSparkColumnChart
ItemsSource="{Binding MonthlyRevenue}"
YBindingPath="Revenue"
FirstPointFill="Green"
LastPointFill="Blue"
HighPointFill="Gold"
LowPointFill="Red"
NegativePointsFill="DarkRed">
</sparkchart:SfSparkColumnChart>| Property | Type | Default | Purpose |
|---|---|---|---|
ItemsSource | IEnumerable | - | Data source for chart |
YBindingPath | string | - | Property name for Y-axis values |
XBindingPath | string | - | Property name for X-axis values |
Height | double | - | Chart height in pixels |
Width | double | - | Chart width in pixels |
| Property | Type | Default | Purpose |
|---|---|---|---|
ShowMarkers | bool | false | Display markers (Line/Area only) |
ShowAxis | bool | false | Display axis baseline |
Padding | Thickness | 0 | Space around chart content |
AxisOrigin | double | - | Y-axis value for axis line position |
| Property | Type | Default | Purpose |
|---|---|---|---|
FirstPointFill | Brush | - | Color of first data point |
LastPointFill | Brush | - | Color of last data point |
HighPointFill | Brush | - | Color of highest data point |
LowPointFill | Brush | - | Color of lowest data point |
NegativePointsFill | Brush | - | Color of negative values (Column/WinLoss) |
| Property | Type | Default | Purpose |
|---|---|---|---|
RangeBandStart | double | - | Y-axis start value for range band |
RangeBandEnd | double | - | Y-axis end value for range band |
RangeBandFill | Brush | - | Color for range band region |
| Property | Type | Default | Purpose |
|---|---|---|---|
AxisType | SparkChartAxisType | Numeric | Axis scale type (Numeric, Category, DateTime) |
AxisLineStyle | SparkChartLineStyle | - | Axis appearance (Stroke, StrokeWidth, StrokeDashArray) |
| Property | Type | Default | Purpose |
|---|---|---|---|
MarkerSettings | SparkChartMarkerSettings | - | Marker customization configuration |
Causes: Missing ItemsSource binding, incorrect YBindingPath, data source is null Solutions:
Note: Markers only work on Line and Area charts Solutions:
Solutions:
Solutions:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.