Syncfusion.AspNetMvc.HeatMap
35.2.12
Prefix Reserved
dotnet add package Syncfusion.AspNetMvc.HeatMap --version 35.2.12
NuGet\Install-Package Syncfusion.AspNetMvc.HeatMap -Version 35.2.12
<PackageReference Include="Syncfusion.AspNetMvc.HeatMap" Version="35.2.12" />
<PackageVersion Include="Syncfusion.AspNetMvc.HeatMap" Version="35.2.12" />
<PackageReference Include="Syncfusion.AspNetMvc.HeatMap" />
paket add Syncfusion.AspNetMvc.HeatMap --version 35.2.12
#r "nuget: Syncfusion.AspNetMvc.HeatMap, 35.2.12"
#:package Syncfusion.AspNetMvc.HeatMap@35.2.12
#addin nuget:?package=Syncfusion.AspNetMvc.HeatMap&version=35.2.12
#tool nuget:?package=Syncfusion.AspNetMvc.HeatMap&version=35.2.12
Syncfusion ASP.NET MVC 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.
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-mvc/llms.txt
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
These setup steps are required only once for your application, regardless of which Syncfusion components you use.
1. Install NuGet package
Install-Package Syncfusion.AspNetMvc.HeatMap
2. Add namespace reference
Edit Web.config under the Views folder and add the Syncfusion.EJ2 namespace:
<namespaces>
<add namespace="Syncfusion.EJ2"/>
</namespaces>
3. Add stylesheet and script references
In your layout file (~/Views/Shared/_Layout.cshtml), add the following in the <head> section:
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewBag.Title - Syncfusion Application</title>
<link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/35.2.12/fluent2.css" />
<script src="https://cdn.syncfusion.com/ej2/35.2.12/dist/ej2.min.js"></script>
</head>
4. Register script manager
At the end of the <body> tag in your layout file (~/Views/Shared/_Layout.cshtml):
<body>
@RenderBody()
@Html.EJS().ScriptManager()
</body>
Quick start
Step 1: Create controller ~/Controllers/HomeController.cs
public ActionResult Index()
{
string[] xlabels = new string[12] { "Nancy", "Andrew", "Janet", "Margaret", "Steven", "Michael", "Robert", "Laura", "Anne", "Paul", "Karin", "Mario" };
ViewBag.xLabels = xlabels;
string[] yLabels = new string[6] { "Mon", "Tues", "Wed", "Thurs", "Fri", "Sat" };
ViewBag.yLabels = yLabels;
int[,] data = new int[,]
{
{73, 39, 26, 39, 94, 0},
{93, 58, 53, 38, 26, 68},
{99, 28, 22, 4, 66, 90},
{14, 26, 97, 69, 69, 3},
{7, 46, 47, 47, 88, 6},
{41, 55, 73, 23, 3, 79},
{56, 69, 21, 86, 3, 33},
{45, 7, 53, 81, 95, 79},
{60, 77, 74, 68, 88, 51},
{25, 25, 10, 12, 78, 14},
{25, 56, 55, 58, 12, 82},
{74, 33, 88, 23, 86, 59}
};
return View(data);
}
Step 2: Add the ASP.NET MVC HeatMapChart control
Add the Syncfusion ASP.NET MVC HeatMapChart control in ~/Views/Home/Index.cshtml page.
@model int[,]
@Html.EJS().HeatMap("container").DataSource(Model).Render()
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 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
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 Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 13.0.3)
- Syncfusion.AspNetMvc.Base (>= 35.2.12)
- Syncfusion.EJ2.JavaScript (>= 35.2.12)
- Syncfusion.Licensing (>= 35.2.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 35.2.12 | 59 | 11/18/2026 |
| 35.1.46 | 97 | 11/11/2026 |
| 35.1.43 | 110 | 11/2/2026 |
| 35.1.42 | 111 | 10/27/2026 |
| 35.1.41 | 107 | 10/20/2026 |
| 35.1.40 | 102 | 10/13/2026 |
| 35.1.39 | 104 | 10/6/2026 |
| 35.1.37 | 127 | 9/29/2026 |
| 34.2.9 | 128 | 9/21/2026 |
| 34.2.8 | 129 | 9/14/2026 |
| 34.2.7 | 146 | 9/8/2026 |
| 34.2.6 | 134 | 8/31/2026 |
| 34.2.5 | 132 | 8/25/2026 |
| 34.2.4 | 144 | 8/17/2026 |
| 34.2.3 | 127 | 8/11/2026 |
| 34.2.2 | 140 | 8/5/2026 |
| 34.1.33 | 150 | 7/27/2026 |
| 34.1.32 | 134 | 7/21/2026 |
| 34.1.31 | 147 | 7/14/2026 |
| 34.1.30 | 143 | 7/9/2026 |