Syncfusion.Blazor.Sparkline
33.2.5
Prefix Reserved
dotnet add package Syncfusion.Blazor.Sparkline --version 33.2.5
NuGet\Install-Package Syncfusion.Blazor.Sparkline -Version 33.2.5
<PackageReference Include="Syncfusion.Blazor.Sparkline" Version="33.2.5" />
<PackageVersion Include="Syncfusion.Blazor.Sparkline" Version="33.2.5" />
<PackageReference Include="Syncfusion.Blazor.Sparkline" />
paket add Syncfusion.Blazor.Sparkline --version 33.2.5
#r "nuget: Syncfusion.Blazor.Sparkline, 33.2.5"
#:package Syncfusion.Blazor.Sparkline@33.2.5
#addin nuget:?package=Syncfusion.Blazor.Sparkline&version=33.2.5
#tool nuget:?package=Syncfusion.Blazor.Sparkline&version=33.2.5
Syncfusion® Blazor Sparkline Charts
The Syncfusion Blazor Sparkline Component displays lightweight, single-series data visualizations in a compact cell or inline format. Perfect for dashboards and data summaries, sparklines show trends at a glance without axis labels or legends.
Key features
- Multiple Sparkline Types - Supports five sparkline types—line, area, column, win‑loss, and pie—to visualize trends in minimal space.
- Compact Inline Visualization - Designed to display data trends inside small cells, tables, dashboards, and tight UI layouts without requiring a full chart.
- Extensive Customization - Customize markers (first, last, high, low, negative), data labels, range bands, axis styles, colors, backgrounds, and borders for fine‑tuned visual output.
- Interactive Tooltips & Track Lines - Provide detailed insights with hover/tap tooltips and optional track lines for precise data identification.
- Axis Configuration Options - Configure numeric, category, or date axes with adjustable min/max values, custom styling, and positioning.
- Responsive Design - Automatically adapts to container size and works smoothly across desktops, tablets, and mobile devices.
- Globalization & Localization - Automatically formats numbers, dates, and times based on culture settings, with full right‑to‑left (RTL) language support.
- Accessibility Support - Compliant with accessibility standards, including keyboard navigation and screen reader support using WAI‑ARIA.
- Dashboard‑Ready - Ideal for KPIs, summaries, and trend snapshots where space is limited but insights matter.
- Blazor Server & WebAssembly Compatible - Fully supported in both hosting models and easy to integrate into any Blazor application.
Add script references
- For Blazor Server App / Blazor Web App, add these to
Components/App.razororApp.razorfile. - For Blazor WebAssembly App, add these to
wwwroot/index.htmlfile.
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
Quick start
- Register the Syncfusion® Blazor services in the
Program.csfile.
using Syncfusion.Blazor;
builder.Services.AddSyncfusionBlazor();
- Add Blazor Sparkline component to your Razor page.
@using Syncfusion.Blazor.Charts
<SfSparkline DataSource="ClimateData"
TValue="WeatherReport"
XName="Month"
YName="Celsius"
ValueType="SparklineValueType.Category"
Type="SparklineType.Area"
Height="80px"
Width="150px">
<SparklineDataLabelSettings Visible="new List<VisibleType> { VisibleType.Start, VisibleType.End }"></SparklineDataLabelSettings>
<SparklinePadding Left="10" Right="10"></SparklinePadding>
<SparklineTooltipSettings TValue="WeatherReport" Visible="true"></SparklineTooltipSettings>
</SfSparkline>
@code {
public class WeatherReport
{
public string Month { get; set; }
public double Celsius { get; set; }
};
public List<WeatherReport> ClimateData = new List<WeatherReport> {
new WeatherReport { Month= "Jan", Celsius= 34 },
new WeatherReport { Month= "Feb", Celsius= 36 },
new WeatherReport { Month= "Mar", Celsius= 32 },
new WeatherReport { Month= "Apr", Celsius= 35 },
new WeatherReport { Month= "May", Celsius= 40 },
new WeatherReport { Month= "Jun", Celsius= 38 },
new WeatherReport { Month= "Jul", Celsius= 33 },
new WeatherReport { Month= "Aug", Celsius= 37 },
new WeatherReport { Month= "Sep", Celsius= 34 },
new WeatherReport { Month= "Oct", Celsius= 31 },
new WeatherReport { Month= "Nov", Celsius= 30 },
new WeatherReport { Month= "Dec", Celsius= 29}
};
}
Documentation
- Getting Started with Blazor Web App
- Getting Started with Blazor WebAssembly App
- Feature Overview
- API Reference
- Live Demos
- Video Tutorials
Support
License
This is a commercial product and requires a paid license for possession or use. Review the Syncfusion® EULA.
About Syncfusion®
Syncfusion® provides 1600+ UI components and frameworks for web, mobile, and desktop development across multiple platforms:
- Web: Blazor | ASP.NET Core | ASP.NET MVC | JavaScript | Angular | React | Vue
Desktop: WinForms | WPF | WinUI
Learn more at www.syncfusion.com.
sales@syncfusion.com | Toll Free: 1-888-9-DOTNET
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Syncfusion.Blazor.Core (>= 33.2.5)
- Syncfusion.Blazor.Data (>= 33.2.5)
- Syncfusion.Blazor.DataVizCommon (>= 33.2.5)
- Syncfusion.Blazor.Popups (>= 33.2.5)
-
net8.0
- Syncfusion.Blazor.Core (>= 33.2.5)
- Syncfusion.Blazor.Data (>= 33.2.5)
- Syncfusion.Blazor.DataVizCommon (>= 33.2.5)
- Syncfusion.Blazor.Popups (>= 33.2.5)
-
net9.0
- Syncfusion.Blazor.Core (>= 33.2.5)
- Syncfusion.Blazor.Data (>= 33.2.5)
- Syncfusion.Blazor.DataVizCommon (>= 33.2.5)
- Syncfusion.Blazor.Popups (>= 33.2.5)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Syncfusion.Blazor.Sparkline:
| Package | Downloads |
|---|---|
|
Cayaqui.MPS.Components
Design system and EVM/EPC reusable components (KPI strip, gauges CPI/SPI/PF, S-curves, Gantt, WBS tree grid, R9C, risk heatmap, change orders, purchase orders, engineering deliverables, lookahead grid) for .NET 10 Blazor WebApp (Interactive Server) on top of Syncfusion.Blazor. Proprietary — requires a commercial agreement with Cayaqui. |
|
|
Jakar.Extensions.Blazor.Syncfusion
Extensions to aid in development. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 33.2.5 | 141 | 5/4/2026 |
| 33.2.4 | 207 | 4/27/2026 |
| 33.2.3 | 849 | 4/21/2026 |
| 33.1.49 | 241 | 4/13/2026 |
| 33.1.47 | 216 | 4/6/2026 |
| 33.1.46 | 173 | 3/30/2026 |
| 33.1.45 | 199 | 3/23/2026 |
| 33.1.44 | 601 | 3/16/2026 |
| 32.2.9 | 208 | 3/9/2026 |
| 32.2.8 | 180 | 3/2/2026 |
| 32.2.7 | 186 | 2/23/2026 |
| 32.2.5 | 2,729 | 2/16/2026 |
| 32.2.4 | 208 | 2/10/2026 |
| 32.2.3 | 551 | 2/5/2026 |
| 32.1.25 | 179 | 1/26/2026 |
| 32.1.24 | 568 | 1/19/2026 |
| 32.1.23 | 163 | 1/13/2026 |
| 32.1.22 | 905 | 1/5/2026 |
| 32.1.21 | 239 | 12/29/2025 |
| 32.1.20 | 261 | 12/23/2025 |