Syncfusion.AspNetCore.Charts
34.2.8
Prefix Reserved
dotnet add package Syncfusion.AspNetCore.Charts --version 34.2.8
NuGet\Install-Package Syncfusion.AspNetCore.Charts -Version 34.2.8
<PackageReference Include="Syncfusion.AspNetCore.Charts" Version="34.2.8" />
<PackageVersion Include="Syncfusion.AspNetCore.Charts" Version="34.2.8" />
<PackageReference Include="Syncfusion.AspNetCore.Charts" />
paket add Syncfusion.AspNetCore.Charts --version 34.2.8
#r "nuget: Syncfusion.AspNetCore.Charts, 34.2.8"
#:package Syncfusion.AspNetCore.Charts@34.2.8
#addin nuget:?package=Syncfusion.AspNetCore.Charts&version=34.2.8
#tool nuget:?package=Syncfusion.AspNetCore.Charts&version=34.2.8
Syncfusion ASP.NET Core Charts
The Syncfusion ASP.NET Core Charts component is a well-crafted charting package that is used to visualize data in graphical format. It contains a rich collection of chart types such as line, area, bar, pie, histogram, financial charts, and more. The Accumulation Chart (pie, donut, funnel, pyramid) is also part of this package.
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/aspnet-core/llms.txt
Key Features
- 50+ chart types including Line, Area, Column, Bar, Pie, Donut, Scatter, Bubble, Hilo, Waterfall, Box & Whisker, and more
- Interactive features: zooming, panning, crosshair, trackball, and tooltip
- Multiple axes, multi-level labels, striplines, and technical indicators for financial charts
- Data labels, annotations, and trendlines
- Export to PNG, JPEG, SVG, and PDF
- Localization, RTL, and accessibility support
Common Setup
All Syncfusion ASP.NET Core controls share the same foundational setup steps:
1. Install NuGet Package
Install the Charts package, which provides the scripts referenced below:
dotnet add package Syncfusion.AspNetCore.Charts
2. Register Tag Helper
Add the following to ~/Pages/_ViewImports.cshtml or ~/Views/_ViewImports.cshtml:
@addTagHelper *, Syncfusion.AspNetCore.Base
@addTagHelper *, Syncfusion.AspNetCore.Charts
3. Add Script References
In your layout file (~/Pages/Shared/_Layout.cshtml):
<head>
<script src="_content/Syncfusion.AspNetCore.Charts/scripts/sf-chart.min.js"></script>
<script src="_content/Syncfusion.AspNetCore.Charts/scripts/sf-accumulation-chart.min.js"></script>
</head>
4. Register Script Manager
In your layout file (~/Pages/Shared/_Layout.cshtml), At the end of your <body> tag:
<ejs-scripts></ejs-scripts>
Quick Start
Step 1: ~/Pages/Index.cshtml.cs
public class IndexModel : PageModel
{
public List<ChartData> ChartDataList { get; set; }
public void OnGet()
{
ChartDataList = new List<ChartData>
{
new ChartData { X = "Jan", Y = 21 },
new ChartData { X = "Feb", Y = 28 },
new ChartData { X = "Mar", Y = 19 },
new ChartData { X = "Apr", Y = 42 },
new ChartData { X = "May", Y = 35 }
};
}
}
public class ChartData
{
public string X { get; set; }
public double Y { get; set; }
}
Step 2: ~/Pages/Index.cshtml
<ejs-chart id="container">
<e-chart-primaryxaxis valueType="Category"></e-chart-primaryxaxis>
<e-chart-series-collection>
<e-chart-series dataSource="@Model.ChartDataList" xName="X" yName="Y" type="Line"></e-chart-series>
</e-chart-series-collection>
</ejs-chart>
Step 3: Run the Application
Press Ctrl+F5 to run the application in your browser.
Documentation
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
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.2.8)
- Syncfusion.Licensing (>= 34.2.8)
- Syncfusion.Telemetry (>= 34.2.8)
-
net8.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.2.8)
- Syncfusion.Licensing (>= 34.2.8)
- Syncfusion.Telemetry (>= 34.2.8)
-
net9.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.2.8)
- Syncfusion.Licensing (>= 34.2.8)
- Syncfusion.Telemetry (>= 34.2.8)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on Syncfusion.AspNetCore.Charts:
| Package | Downloads |
|---|---|
|
Syncfusion.AspNetCore.RangeNavigator
Syncfusion® ASP.NET Core Range Navigator is a data visualization control used to select a sub-range of data for display in a companion chart or report. It renders a miniature chart (line or area) within a scrollable range selector, allowing users to zoom in on specific time periods or data ranges interactively. It supports DateTime, numeric, and logarithmic axis types, tooltips, labels, and synchronization with other chart controls, making it ideal for financial, stock, and time-series dashboards in ASP.NET Core applications. |
|
|
Syncfusion.AspNetCore.StockChart
Syncfusion® ASP.NET Core Stock Chart control is a specialized financial chart for visualizing stock market data with support for OHLC (Open-High-Low-Close) and Candlestick chart types. It includes built-in technical indicators (SMA, EMA, MACD, Bollinger Bands, RSI, Stochastic, ATR, etc.), trendlines, period selectors, range selectors, crosshair, trackball, zooming and panning, tooltip, and logarithmic axis. It is the ideal choice for building stock trading dashboards, financial analytics, and market data applications on ASP.NET Core. |
|
|
Syncfusion.AspNetCore.PivotView
Syncfusion® ASP.NET Core Pivot Table (PivotView) is a powerful data summarization and analytical control that supports OLAP and relational data. It provides features like drill-down, drill-through, grouping, aggregation, calculated fields, conditional formatting, virtual scrolling, chart integration, toolbar, field list, export to Excel/PDF/CSV, and a rich UI for interactive data exploration. It is ideal for building business intelligence, reporting, and analytical dashboards in ASP.NET Core applications. |
|
|
Syncfusion.AspNetCore.Sankey
Syncfusion® ASP.NET Core Sankey Chart control visualizes flow and the proportional relationships between entities using directed paths with varying widths. It is ideal for representing energy flow, resource allocation, material flow, and multi-step process distributions. The control supports customizable nodes and links, color mapping, tooltip, legend, and interactive hover effects. It helps reveal patterns and proportions in flow-based data for analytical dashboards and reporting applications built on ASP.NET Core. |
|
|
Syncfusion.AspNetCore.CircularChart3D
Syncfusion® ASP.NET Core Circular Chart 3D control provides a three-dimensional representation of circular charts such as Pie and Doughnut charts for ASP.NET Core web applications. It supports features like 3D depth, tilt, rotation, explode effects, data labels, legends, tooltips, and animation. This control is designed to give a visually rich and engaging representation of part-to-whole data relationships in dashboards, reports, and analytics applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.