Syncfusion.Blazor.Sparkline 35.1.41

Prefix Reserved
dotnet add package Syncfusion.Blazor.Sparkline --version 35.1.41
                    
NuGet\Install-Package Syncfusion.Blazor.Sparkline -Version 35.1.41
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syncfusion.Blazor.Sparkline" Version="35.1.41" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Syncfusion.Blazor.Sparkline" Version="35.1.41" />
                    
Directory.Packages.props
<PackageReference Include="Syncfusion.Blazor.Sparkline" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Syncfusion.Blazor.Sparkline --version 35.1.41
                    
#r "nuget: Syncfusion.Blazor.Sparkline, 35.1.41"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Syncfusion.Blazor.Sparkline@35.1.41
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Syncfusion.Blazor.Sparkline&version=35.1.41
                    
Install as a Cake Addin
#tool nuget:?package=Syncfusion.Blazor.Sparkline&version=35.1.41
                    
Install as a Cake Tool

Syncfusion Blazor Sparkline

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.

Blazor Sparkline Chart

Using this package with an AI coding agent

Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:

Set up this project for Syncfusion before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com, then report the detected platform, installed skill pack, MCP status, and any required licensing action.

The setup detects your project's platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.

Platform reference: https://ai.syncfusion.com/blazor/llms.txt

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.

System requirements

  • .NET 8.0 or later (Blazor Web App, Blazor Server App, Blazor WebAssembly App and Blazor Hybrid App)
  • See full requirements: system requirements

Installation

Install the Sparkline package, which provides the scripts referenced below:

dotnet add package Syncfusion.Blazor.Sparkline

Add script references

For Blazor Server App / Blazor Web App, add these to Components/App.razor or App.razor. For Blazor WebAssembly App, add these to wwwroot/index.html:

<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>

Quick start

  1. Register the Syncfusion Blazor service in Program.cs:
using Syncfusion.Blazor;

builder.Services.AddSyncfusionBlazor();
  1. Add the 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

Support and feedback

Explore other popular Syncfusion Blazor components curated from UI components, standalone SDKs, and document solution suites.

UI components Standalone UI SDK's Document processing
Blazor DataGrid Blazor Gantt Chart Blazor DOCX Editor
Blazor Pivot Table Blazor Diagram Blazor Document
Blazor Map Blazor Scheduler Blazor PDF Viewer
Blazor File Manager Blazor RichTextEditor Blazor Spreadsheet Editor

License

This is a commercial product and requires a paid license for possession or use. Syncfusion licensed software, including this component, is subject to the terms and conditions of the Syncfusion EULA. You can purchase a license here or start a free 30-day trial here.

About Syncfusion

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 29,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1800+ components and frameworks for web, mobile, and desktop development across multiple platforms:

Web: Blazor | ASP.NET Core | ASP.NET MVC | JavaScript | Angular | React | Vue

Mobile: Flutter | MAUI | UWP

Desktop: WinForms | WPF | WinUI

Learn more at www.syncfusion.com.

sales@syncfusion.com | Toll Free: 1-888-9-DOTNET

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Syncfusion.Blazor.Sparkline:

Package Downloads
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
35.1.41 215 10/20/2026
35.1.40 479 10/13/2026
35.1.39 366 10/6/2026
35.1.37 410 9/29/2026
34.2.9 338 9/21/2026
34.2.8 276 9/14/2026
34.2.7 1,033 9/8/2026
34.2.6 496 8/31/2026
34.2.5 336 8/25/2026
34.2.4 552 8/17/2026
34.2.3 617 8/11/2026
34.2.2 13,165 8/5/2026
34.1.33 368 7/27/2026
34.1.32 700 7/21/2026
34.1.31 2,954 7/14/2026
34.1.30 260 7/9/2026
34.1.29 697 7/6/2026
33.2.15 826 6/23/2026
33.2.13 1,218 6/16/2026
33.2.12 344 6/9/2026
Loading failed