/syncfusion-wpf:syncfusion-wpf-sparklinefrom Syncfusion WPF Controls
Comprehensive guide for implementing Syncfusion WPF Sparkline (SfSparkline) controls in Windows Presentation Foundation applications. Use this when working with sparklines, mini charts, or trend visualization. This skill covers sparkline types (line, column, area, WinLoss), markers, track ball, range bands, axis controls, and segment customization for compact data visualization in WPF applications.
Ships in Syncfusion WPF Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Comprehensive guide for implementing Syncfusion® WPF Sparkline (SfSparkline) controls in Windows Presentation Foundation applications. Sparklines are compact, highly condensed charts that display data trends without axes or coordinates, perfect for dashboards and inline visualizations.
Use this skill when you need to:
This skill covers all four sparkline types and their unique features, from basic implementation to advanced customization.
The Syncfusion WPF Sparkline (SfSparkline) is a very small chart that presents data trends in a simple, highly condensed format. Unlike traditional charts, sparklines omit axes, labels, and legends to focus purely on the data's shape and pattern.
Key Capabilities:
Common Use Cases:
📄 Read: references/getting-started.md
Read this first when implementing sparklines for the first time:
📄 Read: references/sparkline-types.md
Read this when choosing or implementing specific sparkline types:
📄 Read: references/markers.md
Read this when adding or customizing markers on sparklines:
📄 Read: references/track-ball.md
Read this when implementing interactive data inspection:
📄 Read: references/range-band.md
Read this when highlighting specific Y-axis ranges:
📄 Read: references/segment-customization.md
Read this when customizing segment colors and highlighting:
📄 Read: references/axis-controls.md
Read this when configuring axis visibility and appearance:
Here's a minimal example to create a line sparkline:
<Window xmlns:syncfusion="clr-namespace:Syncfusion.UI.Xaml.Charts;assembly=Syncfusion.SfChart.WPF">
<Window.DataContext>
<local:SparklineViewModel/>
</Window.DataContext>
<syncfusion:SfLineSparkline
ItemsSource="{Binding UsersList}"
YBindingPath="NoOfUsers"
Interior="#4a4a4a"/>
</Window>
using Syncfusion.UI.Xaml.Charts;
// Create sparkline
SfLineSparkline sparkline = new SfLineSparkline()
{
ItemsSource = new SparklineViewModel().UsersList,
YBindingPath = "NoOfUsers",
Interior = new SolidColorBrush(Color.FromRgb(0x4a, 0x4a, 0x4a)),
};
// Add to container
this.Content = sparkline;
public class UserProfile
{
public DateTime TimeStamp { get; set; }
public double NoOfUsers { get; set; }
}
public class SparklineViewModel
{
public ObservableCollection<UserProfile> UsersList { get; set; }
public SparklineViewModel()
{
UsersList = new ObservableCollection<UserProfile>();
DateTime date = DateTime.Today;
UsersList.Add(new UserProfile { TimeStamp = date.AddHours(1), NoOfUsers = 3000 });
UsersList.Add(new UserProfile { TimeStamp = date.AddHours(2), NoOfUsers = 5000 });
UsersList.Add(new UserProfile { TimeStamp = date.AddHours(3), NoOfUsers = -3000 });
UsersList.Add(new UserProfile { TimeStamp = date.AddHours(4), NoOfUsers = -4000 });
UsersList.Add(new UserProfile { TimeStamp = date.AddHours(5), NoOfUsers = 2000 });
UsersList.Add(new UserProfile { TimeStamp = date.AddHours(6), NoOfUsers = 3000 });
}
}
<syncfusion:SfColumnSparkline
ItemsSource="{Binding SalesData}"
YBindingPath="Amount"
HighlightSegment="True"/>
<syncfusion:SfWinLossSparkline
ItemsSource="{Binding MatchResults}"
YBindingPath="Result"/>
<syncfusion:SfLineSparkline
ItemsSource="{Binding TrendData}"
YBindingPath="Value"
MarkerVisibility="Visible"
ShowTrackBall="True">
<syncfusion:SfLineSparkline.MarkerTemplateSelector>
<syncfusion:MarkerTemplateSelector
FirstPointBrush="Yellow"
LastPointBrush="Yellow"
HighPointBrush="Red"
LowPointBrush="Blue"
MarkerHeight="10"
MarkerWidth="10"/>
</syncfusion:SfLineSparkline.MarkerTemplateSelector>
</syncfusion:SfLineSparkline>
<syncfusion:SfAreaSparkline
ItemsSource="{Binding PerformanceData}"
YBindingPath="Score"
BandRangeStart="80"
BandRangeEnd="100"
RangeBandBrush="LightGreen"/>
| Property | Type | Description |
|---|---|---|
| ItemsSource | IEnumerable | Data collection to bind |
| YBindingPath | string | Property path for Y-axis values |
| XBindingPath | string | Property path for X-axis values (optional) |
| Interior | Brush | Fill color for sparkline |
| BorderBrush | Brush | Border color |
| BorderThickness | Thickness | Border thickness |
| MarkerVisibility | Visibility | Show/hide markers |
| ShowTrackBall | bool | Enable track ball feature |
| ShowAxis | bool | Display axis line |
| AxisOrigin | double | Axis position on Y-axis |
| HighlightSegment | bool | Highlight segment on hover (Column/WinLoss) |
| BandRangeStart | double | Range band start value |
| BandRangeEnd | double | Range band end value |
| RangeBandBrush | Brush | Range band fill color |
Display multiple sparklines showing key metrics over time (sales, traffic, conversions) in a compact dashboard layout.
Recommended: Line or Area sparklines with markers highlighting min/max values.
Embed sparklines within data grid cells to show trend data alongside tabular information.
Recommended: Column sparklines for discrete data, Line sparklines for continuous trends.
Show trading results, game outcomes, or binary performance metrics.
Recommended: WinLoss sparklines with custom segment colors for wins, losses, and draws.
Visualize metrics with target ranges highlighted (e.g., "green zone" for acceptable performance).
Recommended: Area or Line sparklines with range bands showing target thresholds.
Allow users to hover over sparklines to inspect exact data values without cluttering the interface.
Recommended: Any sparkline type with track ball enabled and custom labels.
Common issues:
For detailed troubleshooting, refer to the specific reference documentation for each feature.
references/axis-controls.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/markers.md (opens in a new tab)references/range-band.md (opens in a new tab)references/segment-customization.md (opens in a new tab)references/sparkline-types.md (opens in a new tab)references/track-ball.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-wpfOther plugins' skills for the same job
96 skills in this plugin
/syncfusion-wpf-3d-chartComprehensive guide for implementing Syncfusion WPF 3D Charts (SfChart3D) control for 3D data visualization in Windows Presentation Foundation applications. Use this when working with 3D charts, 3D visualization, or depth axis configurations. This skill covers 3D series types (column, pie, bar), Manhattan charts, 3D rotation, X/Y/Z coordinate plotting, and depth axis configuration for WPF applications./syncfusion-wpf-accordionImplement Syncfusion WPF SfAccordion for collapsible and expandable panel layouts. Use this when working with accordion controls, expandable panels, or collapsible section navigation in WPF. Covers populating items declaratively or via data binding, selection modes (One/OneOrMore/ZeroOrOne/ZeroOrMore), programmatic selection, appearance customization (AccentBrush, HeaderTemplate, ContentTemplate), and theming with SfSkinManager./syncfusion-wpf-ai-assistviewImplement Syncfusion WPF SfAIAssistView for AI chat and conversational assistant interfaces. Use this when building AI assistant UIs, message threads with AI responses, or integrating OpenAI/SemanticKernel in WPF. Covers typing indicators, suggestions, input/response toolbars, stop-responding features, conversation history, input placeholder text, empty view templates, and PromptRequest events using Syncfusion.SfChat.Wpf.