Syncfusion.AspNetCore.HeatMap
34.1.31
Prefix Reserved
dotnet add package Syncfusion.AspNetCore.HeatMap --version 34.1.31
NuGet\Install-Package Syncfusion.AspNetCore.HeatMap -Version 34.1.31
<PackageReference Include="Syncfusion.AspNetCore.HeatMap" Version="34.1.31" />
<PackageVersion Include="Syncfusion.AspNetCore.HeatMap" Version="34.1.31" />
<PackageReference Include="Syncfusion.AspNetCore.HeatMap" />
paket add Syncfusion.AspNetCore.HeatMap --version 34.1.31
#r "nuget: Syncfusion.AspNetCore.HeatMap, 34.1.31"
#:package Syncfusion.AspNetCore.HeatMap@34.1.31
#addin nuget:?package=Syncfusion.AspNetCore.HeatMap&version=34.1.31
#tool nuget:?package=Syncfusion.AspNetCore.HeatMap&version=34.1.31
Syncfusion® ASP.NET Core HeatMap Component
A 2D data visualization component that visualizes data with values represented as colors. It is useful for identifying patterns, correlations, and outliers in datasets with support for multiple cell shapes and color palettes.
Key Features
- Multiple Data Binding: JSON, array, and adaptor data binding for flexible data integration
- Cell Shapes: Support for cell, bubble, and pie shapes for diverse data representation
- Color Palettes: Gradient and fixed color palette support with custom color mapping
- Interactive Tooltips: Customizable tooltips for detailed data viewing on hover
- Legend Filtering: Interactive legend with filtering capabilities for data exploration
- Axis Customization: Label customization, scrolling, and multi-level labels for flexibility
- Export Capabilities: Export to PNG, JPEG, SVG, and PDF formats
- Responsive Design: Adapts to different screen sizes and devices
- Performance: Efficient rendering for large datasets
- Accessibility: Full keyboard navigation and screen reader support
Common Setup
1. Install NuGet Package
Install-Package Syncfusion.AspNetCore.HeatMap
2. Register Tag Helper
Add to ~/Pages/_ViewImports.cshtml or ~/Views/_ViewImports.cshtml:
@addTagHelper *, Syncfusion.AspNetCore.HeatMap
3. Add Stylesheet & Script References
In your layout file:
<head>
<link rel="stylesheet" href="_content/Syncfusion.AspNetCore.Themes/styles/fluent2.css" />
<script src="_content/Syncfusion.AspNetCore.HeatMap/scripts/sf-heatmap.min.js"></script>
</head>
4. Register Script Manager
<ejs-scripts></ejs-scripts>
Quick Start
HeatMap Chart — ~/Pages/Index.cshtml.cs
public class IndexModel : PageModel
{
public List<HeatMapData> HeatMapDataList { get; set; }
public void OnGet()
{
HeatMapDataList = new List<HeatMapData>
{
new HeatMapData { Year = "2020", Month = "January", Value = 25 },
new HeatMapData { Year = "2020", Month = "February", Value = 28 },
new HeatMapData { Year = "2020", Month = "March", Value = 32 },
new HeatMapData { Year = "2020", Month = "April", Value = 35 },
new HeatMapData { Year = "2021", Month = "January", Value = 18 },
new HeatMapData { Year = "2021", Month = "February", Value = 22 },
new HeatMapData { Year = "2021", Month = "March", Value = 28 },
new HeatMapData { Year = "2021", Month = "April", Value = 31 }
};
}
}
public class HeatMapData
{
public string Year { get; set; }
public string Month { get; set; }
public int Value { get; set; }
}
Step 2: ~/Pages/Index.cshtml
<ejs-heatmap id="heatmap" dataSource="@Model.HeatMapDataList">
<e-heatmap-xaxis labels='new List<string> { "2020", "2021", "2022" }'></e-heatmap-xaxis>
<e-heatmap-yaxis labels='new List<string> { "January", "February", "March", "April" }'></e-heatmap-yaxis>
<e-heatmap-cellsettings showLabel="true"></e-heatmap-cellsettings>
<e-heatmap-legendsettings type="Gradient"></e-heatmap-legendsettings>
</ejs-heatmap>
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.1.31)
- Syncfusion.AspNetCore.Charts (>= 34.1.31)
- Syncfusion.Licensing (>= 34.1.31)
-
net8.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.1.31)
- Syncfusion.AspNetCore.Charts (>= 34.1.31)
- Syncfusion.Licensing (>= 34.1.31)
-
net9.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.1.31)
- Syncfusion.AspNetCore.Charts (>= 34.1.31)
- Syncfusion.Licensing (>= 34.1.31)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.