
syncfusion-maui-toolkit-spark-charts
Use this skill ALWAYS when the user needs to implement Syncfusion MAUI Spark Charts. Triggers on spark chart, sparkline, micro-chart, trend visualization, data visualization in small spaces, chart types (line, area, column, win/loss), markers, range bands, axis configuration, data point styling. Also use immediately for chart customization, performance optimization, marker configuration, data binding patterns, accessibility needs.
- Installs
- 45
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/syncfusion/maui-toolkit-ui-components-skills --skill syncfusion-maui-toolkit-spark-charts- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads syncfusion-maui-toolkit-spark-charts automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Implementing Syncfusion .NET MAUI Spark Charts
When to Use This Skill
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:
- Displaying quick data trends without consuming significant UI space
- Visualizing sales trends, stock performance, or time-series data
- Showing positive/negative values in Win/Loss scenarios
- Creating dashboard components with multiple micro-charts
- Highlighting specific data points (first, last, high, low, negative values)
Component Overview
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:
- Data binding to ObservableCollection, List, or IEnumerable
- Four chart types for different visualization needs
- Marker display and customization (Line/Area charts only)
- Data point styling (first, last, high, low, negative)
- Axis display and origin customization
- Range band highlighting for value regions
- Lightweight and performance-optimized for micro-visualizations
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Installation and NuGet package setup
- Project configuration (MauiProgram.cs handler registration)
- Basic SparkLineChart implementation
- Namespace imports and first render
- Data binding setup
- Copy-paste-ready starter code
Chart Types
📄 Read: references/chart-types.md
- Choosing the right chart type for your data
- SparkLineChart: Line-based trend visualization
- SparkAreaChart: Filled area representation
- SparkColumnChart: Vertical bar comparison
- SparkWinLossChart: Win/Loss scenarios
- When to use each type with code examples
- Common type selection patterns
Markers and Labels
📄 Read: references/markers-and-labels.md
- Enabling markers on Line and Area charts
- Marker shape types and customization
- Marker styling properties (Fill, Stroke, StrokeWidth, Height, Width)
- Marker positioning and visibility
- Common marker patterns (highlighting endpoints, data points)
- Performance considerations for marker display
Styling and Appearance
📄 Read: references/styling-and-appearance.md
- Data point styling and color customization
- First, last, high, and low point highlighting
- Negative value styling for Column and WinLoss charts
- Brush and color properties
- Padding and spacing configuration
- Size customization and layout control
- Advanced styling examples
Data Binding
📄 Read: references/data-binding.md
- Binding to ObservableCollection for reactive updates
- Binding to List<T> for static data
- Binding to IEnumerable for LINQ queries
- XBindingPath and YBindingPath configuration
- Dynamic data source updates
- Common binding patterns and best practices
Axis and Ranges
📄 Read: references/axis-and-ranges.md
- Enabling axis display (ShowAxis property)
- Axis origin configuration for baseline reference
- Axis types (Numeric, Category, DateTime)
- XBindingPath property for category/time-based axes
- Range band visualization (RangeBandStart, RangeBandEnd, RangeBandFill)
- Axis line styling and customization
- Highlighting value regions and thresholds
Quick Start Example
// 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; }
}
Common Patterns
Pattern 1: Dashboard Summary Card
// Show quick sales trend in a card
<sparkchart:SfSparkLineChart
ItemsSource="{Binding MonthlySales}"
YBindingPath="Amount"
ShowMarkers="False"
FirstPointFill="Blue"
LastPointFill="Red">
</sparkchart:SfSparkLineChart>
Pattern 2: Performance Indicator with Threshold
// Highlight data within acceptable range using RangeBand
<sparkchart:SfSparkLineChart
ItemsSource="{Binding PerformanceMetrics}"
YBindingPath="Value"
ShowAxis="True"
RangeBandStart="50"
RangeBandEnd="100"
RangeBandFill="LightGreen">
</sparkchart:SfSparkLineChart>
Pattern 3: Win/Loss Visualization
// Show positive and negative outcomes
<sparkchart:SfSparkWinLossChart
ItemsSource="{Binding GameResults}"
YBindingPath="Result"
NegativePointsFill="Red">
</sparkchart:SfSparkWinLossChart>
Pattern 4: Styled Data Points
// Emphasize critical data points
<sparkchart:SfSparkColumnChart
ItemsSource="{Binding MonthlyRevenue}"
YBindingPath="Revenue"
FirstPointFill="Green"
LastPointFill="Blue"
HighPointFill="Gold"
LowPointFill="Red"
NegativePointsFill="DarkRed">
</sparkchart:SfSparkColumnChart>
Key Props Reference
Core Properties
| 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 |
Display Properties
| 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 |
Styling Properties
| 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) |
Range Band Properties
| 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 |
Axis Properties
| Property | Type | Default | Purpose |
|---|---|---|---|
AxisType | SparkChartAxisType | Numeric | Axis scale type (Numeric, Category, DateTime) |
AxisLineStyle | SparkChartLineStyle | - | Axis appearance (Stroke, StrokeWidth, StrokeDashArray) |
Marker Properties (Line/Area Only)
| Property | Type | Default | Purpose |
|---|---|---|---|
MarkerSettings | SparkChartMarkerSettings | - | Marker customization configuration |
Common Challenges & Solutions
Issue: Chart appears empty
Causes: Missing ItemsSource binding, incorrect YBindingPath, data source is null
Solutions:
- Verify ItemsSource is properly bound to a populated collection
- Confirm YBindingPath matches your data property name exactly
- Check that data property is public and contains numeric values
Issue: Markers not showing
Note: Markers only work on Line and Area charts
Solutions:
- Verify you're using SfSparkLineChart or SfSparkAreaChart
- Set ShowMarkers="True" in XAML or code
- Check MarkerSettings are not hiding markers (verify Height/Width > 0)
Issue: Range band not visible
Solutions:
- Verify RangeBandStart < RangeBandEnd
- Ensure range values are within your data's Y-axis range
- Check RangeBandFill is not transparent
Issue: Poor performance with large datasets
Solutions:
- Consider displaying only recent data points
- Use aggregated data instead of raw values
- Avoid excessive marker styling on large datasets
- Disable ShowMarkers for performance-critical scenarios
Next Steps
- Ready to implement? → Start with Getting Started
- Need specific features? → Browse Chart Types, Markers, or Styling
- Complex scenarios? → Check Data Binding and Axis Configuration
FAQ
What does the syncfusion-maui-toolkit-spark-charts skill do?
Use this skill ALWAYS when the user needs to implement Syncfusion MAUI Spark Charts. Triggers on spark chart, sparkline, micro-chart, trend visualization, data visualization in small spaces, chart types (line, area, column, win/loss), markers, range bands, axis configuration, data point styling. Also use immediately for chart customization, performance optimization, marker configuration, data binding patterns, accessibility needs.
How do I install syncfusion-maui-toolkit-spark-charts?
Run npx skills add https://github.com/syncfusion/maui-toolkit-ui-components-skills --skill syncfusion-maui-toolkit-spark-charts in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-maui-toolkit-spark-charts/ (personal) or .claude/skills/syncfusion-maui-toolkit-spark-charts/ (project).
Which AI agents can use syncfusion-maui-toolkit-spark-charts?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is syncfusion-maui-toolkit-spark-charts safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains syncfusion-maui-toolkit-spark-charts?
It is published by syncfusion in syncfusion/maui-toolkit-ui-components-skills. It has 45 recorded installs.
More from syncfusion/maui-toolkit-ui-components-skills
syncfusion-maui-toolkit-popup
syncfusion/maui-toolkit-ui-components-skills
Implements Syncfusion .NET MAUI Popup (SfPopup) control for displaying alert messages, custom views, and modal dialogs. Use when working with popups, overlays, dialogs, modal windows, alert boxes, or confirmation dialogs in .NET MAUI applications. Covers positioning (center, absolute, relative to view), layout customization (header, footer, content templates), animations, and modal behavior.
syncfusion-maui-toolkit-pull-to-refresh
syncfusion/maui-toolkit-ui-components-skills
Implements the Syncfusion .NET MAUI PullToRefresh (SfPullToRefresh) control for interactive content refreshing. Use when working with pull-to-refresh, refresh controls, swipe to refresh, or updating content on pull gestures. Covers scenarios for refreshing ListView, DataGrid, or any scrollable content, customizing refresh indicators, MVVM refresh patterns, and pull-to-refresh events.
syncfusion-maui-toolkit-expander
syncfusion/maui-toolkit-ui-components-skills
Implements the Syncfusion .NET MAUI Expander (SfExpander) control for collapsible and expandable content sections. Use when working with expanders, collapsible sections, accordions, expandable panels, or expand/collapse functionality in .NET MAUI applications. Covers space-efficient layouts, header customization and expand/collapse animations.
syncfusion-maui-toolkit-otp-input
syncfusion/maui-toolkit-ui-components-skills
Implement OTP Input controls in .NET MAUI applications for authentication flows. Covers input types (Number, Text, Password), styling modes (Outlined, Filled, Underlined), event handling, value binding, validation patterns, and accessibility. Use this skill when building SMS/email OTP verification, multi-step authentication, or secure login forms.
syncfusion-maui-toolkit-accordion
syncfusion/maui-toolkit-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-maui-toolkit-getting-started
syncfusion/maui-toolkit-ui-components-skills
Getting started with Syncfusion® .NET MAUI Toolkit. Covers installation, cross-platform capabilities, system requirements, and development environment setup for Android, iOS, macOS, and Windows applications.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.