syncfusion-wpf-sparkline — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited syncfusion-wpf-sparkline (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.
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.
For more comprehensive data visualization needs:
Common issues:
For detailed troubleshooting, refer to the specific reference documentation for each feature.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.