Logo: Syncfusion Maui Toolkit Spark Charts

Syncfusion Maui Toolkit Spark Charts

Organisatioun
syncfusion
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.

Iwwersiicht

Editeursyncfusion
Repositorymaui-toolkit-ui-components-skills
Skill-Nummsyncfusion-maui-toolkit-spark-charts
Stären
39
Forks
2
Matgeliwwert Dateien
6
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 6 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    syncfusion huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Syncfusion Maui Toolkit Spark Charts an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/syncfusion/maui-toolkit-ui-components-skills/tree/master/skills/syncfusion-maui-toolkit-spark-charts
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/syncfusion/maui-toolkit-ui-components-skills.git /tmp/maui-toolkit-ui-components-skills
mkdir -p .claude/skills
cp -r /tmp/maui-toolkit-ui-components-skills/skills/syncfusion-maui-toolkit-spark-charts .claude/skills/syncfusion-maui-toolkit-spark-charts
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Syncfusion Maui Toolkit Spark Charts an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Syncfusion Maui Toolkit Spark Charts automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Syncfusion Maui Toolkit Spark Charts net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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 TypeUse CaseBest For
SparkLineChartLine-based visualizationIdentifying trends and patterns
SparkAreaChartFilled area visualizationEmphasizing magnitude of change
SparkColumnChartVertical bar visualizationComparing different data values
SparkWinLossChartWin/Loss representationShowing 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 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

csharp
// 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

csharp
// 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

csharp
// 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

csharp
// Show positive and negative outcomes
<sparkchart:SfSparkWinLossChart 
    ItemsSource="{Binding GameResults}" 
    YBindingPath="Result"
    NegativePointsFill="Red">
</sparkchart:SfSparkWinLossChart>

Pattern 4: Styled Data Points

csharp
// 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

PropertyTypeDefaultPurpose
ItemsSourceIEnumerable-Data source for chart
YBindingPathstring-Property name for Y-axis values
XBindingPathstring-Property name for X-axis values
Heightdouble-Chart height in pixels
Widthdouble-Chart width in pixels

Display Properties

PropertyTypeDefaultPurpose
ShowMarkersboolfalseDisplay markers (Line/Area only)
ShowAxisboolfalseDisplay axis baseline
PaddingThickness0Space around chart content
AxisOrigindouble-Y-axis value for axis line position

Styling Properties

PropertyTypeDefaultPurpose
FirstPointFillBrush-Color of first data point
LastPointFillBrush-Color of last data point
HighPointFillBrush-Color of highest data point
LowPointFillBrush-Color of lowest data point
NegativePointsFillBrush-Color of negative values (Column/WinLoss)

Range Band Properties

PropertyTypeDefaultPurpose
RangeBandStartdouble-Y-axis start value for range band
RangeBandEnddouble-Y-axis end value for range band
RangeBandFillBrush-Color for range band region

Axis Properties

PropertyTypeDefaultPurpose
AxisTypeSparkChartAxisTypeNumericAxis scale type (Numeric, Category, DateTime)
AxisLineStyleSparkChartLineStyle-Axis appearance (Stroke, StrokeWidth, StrokeDashArray)

Marker Properties (Line/Area Only)

PropertyTypeDefaultPurpose
MarkerSettingsSparkChartMarkerSettings-Marker customization configuration

Common Challenges & Solutions

Issue: Chart appears empty

Causes: Missing ItemsSource binding, incorrect YBindingPath, data source is null
Solutions:

  1. Verify ItemsSource is properly bound to a populated collection
  2. Confirm YBindingPath matches your data property name exactly
  3. Check that data property is public and contains numeric values

Issue: Markers not showing

Note: Markers only work on Line and Area charts
Solutions:

  1. Verify you're using SfSparkLineChart or SfSparkAreaChart
  2. Set ShowMarkers="True" in XAML or code
  3. Check MarkerSettings are not hiding markers (verify Height/Width > 0)

Issue: Range band not visible

Solutions:

  1. Verify RangeBandStart < RangeBandEnd
  2. Ensure range values are within your data's Y-axis range
  3. Check RangeBandFill is not transparent

Issue: Poor performance with large datasets

Solutions:

  1. Consider displaying only recent data points
  2. Use aggregated data instead of raw values
  3. Avoid excessive marker styling on large datasets
  4. Disable ShowMarkers for performance-critical scenarios

Next Steps

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Syncfusion Maui Toolkit Spark Charts op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Syncfusion Maui Toolkit Spark Charts besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Syncfusion Maui Toolkit Spark Charts an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/syncfusion/maui-toolkit-ui-components-skills/tree/master/skills/syncfusion-maui-toolkit-spark-charts an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Syncfusion Maui Toolkit Spark Charts benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Syncfusion Maui Toolkit Spark Charts benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Syncfusion Maui Toolkit Spark Charts domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Syncfusion Maui Toolkit Spark Charts gratis?

syncfusion huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇