syncfusion-blazor-heatmap-chart — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited syncfusion-blazor-heatmap-chart (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
NuGet: Syncfusion.Blazor.HeatMap + Syncfusion.Blazor.Themes Namespace: Syncfusion.Blazor.HeatMap
A comprehensive guide for implementing the Syncfusion Blazor HeatMap Chart component to visualize multi-dimensional data using color-coded cells in a matrix layout.
Use this skill when you need to:
The Syncfusion Blazor HeatMap Chart component (SfHeatMap) is a powerful data visualization tool that displays multi-dimensional data in a matrix of cells, where each cell's color represents its value. It supports:
📄 Read: references/getting-started.md
📄 Read: references/working-with-data.md
📄 Read: references/axis.md
📄 Read: references/appearance.md
📄 Read: references/palette.md
📄 Read: references/legend.md
📄 Read: references/tooltip.md
📄 Read: references/events.md
📄 Read: references/bubble-heatmap.md
📄 Read: references/advanced-features.md
📄 Read: references/api-reference.md
Here's a minimal example to get started with the HeatMap Chart component:
@page "/heatmap"
@using Syncfusion.Blazor.HeatMap
<SfHeatMap DataSource="@HeatMapData">
<HeatMapTitleSettings Text="Sales Revenue per Employee (in 1000 US$)"></HeatMapTitleSettings>
<HeatMapCellSettings ShowLabel="true" TileType="CellType.Rect"></HeatMapCellSettings>
</SfHeatMap>
@code {
int[,] GetDefaultData()
{
int[,] dataSource = new int[,]
{
{52, 65, 67, 45, 37, 52},
{68, 52, 63, 51, 30, 51},
{7, 16, 47, 47, 88, 6},
{66, 64, 46, 40, 47, 41},
{14, 46, 97, 69, 69, 3},
{54, 46, 61, 46, 40, 39}
};
return dataSource;
}
public object HeatMapData { get; set; }
protected override void OnInitialized()
{
HeatMapData = GetDefaultData();
}
}Prerequisites:
Syncfusion.Blazor.HeatMap NuGet packagebuilder.Services.AddSyncfusionBlazor();index.html@using Syncfusion.Blazor.HeatMap@using Syncfusion.Blazor.HeatMap
<SfHeatMap DataSource="@JsonData">
<HeatMapDataSourceSettings IsJsonData="true"
AdaptorType="AdaptorType.Table"
XDataMapping="ProductName"
YDataMapping="Year"
ValueMapping="Value">
</HeatMapDataSourceSettings>
<HeatMapXAxis Labels="@XAxisLabels"></HeatMapXAxis>
<HeatMapYAxis Labels="@YAxisLabels"></HeatMapYAxis>
</SfHeatMap>
@code {
private object[] JsonData = new object[]
{
new { ProductName = "Laptop", Year = "2022", Value = 150 },
new { ProductName = "Desktop", Year = "2022", Value = 80 },
// ... more data
};
private string[] XAxisLabels = new string[] { "Laptop", "Desktop", "Tablet", "Phone" };
private string[] YAxisLabels = new string[] { "2022", "2023", "2024" };
}@using Syncfusion.Blazor.HeatMap
<SfHeatMap DataSource="@HeatMapData">
<HeatMapPaletteSettings Type="PaletteType.Gradient">
<HeatMapPalettes>
<HeatMapPalette Color="#C2E7EC" Value="0"></HeatMapPalette>
<HeatMapPalette Color="#AEDFE6" Value="25"></HeatMapPalette>
<HeatMapPalette Color="#7FCDC4" Value="50"></HeatMapPalette>
<HeatMapPalette Color="#6EB5D0" Value="75"></HeatMapPalette>
<HeatMapPalette Color="#2D6CA2" Value="100"></HeatMapPalette>
</HeatMapPalettes>
</HeatMapPaletteSettings>
</SfHeatMap>@using Syncfusion.Blazor.HeatMap
<SfHeatMap DataSource="@BubbleData">
<HeatMapCellSettings TileType="CellType.Bubble"
BubbleType="BubbleType.SizeAndColor">
<HeatMapBubbleSize Minimum="10" Maximum="30"></HeatMapBubbleSize>
</HeatMapCellSettings>
<HeatMapDataSourceSettings IsJsonData="true"
AdaptorType="AdaptorType.Cell"
XDataMapping="XAxis"
YDataMapping="YAxis"
ValueMapping="Value">
<HeatMapBubbleDataMapping Size="Size" Color="Value"></HeatMapBubbleDataMapping>
</HeatMapDataSourceSettings>
</SfHeatMap>@using Syncfusion.Blazor.HeatMap
<SfHeatMap DataSource="@HeatMapData">
<HeatMapEvents CellClicked="@OnCellClick"
TooltipRendering="@OnTooltipRender">
</HeatMapEvents>
<HeatMapTooltipSettings>
<Template>
@{
var data = context as TooltipEventArgs;
<div>@data.XLabel - @data.YLabel: @data.Value</div>
}
</Template>
</HeatMapTooltipSettings>
</SfHeatMap>
@code {
private void OnCellClick(Syncfusion.Blazor.HeatMap.CellClickEventArgs args)
{
Console.WriteLine($"Cell clicked: {args.XLabel}, {args.YLabel}, Value: {args.Value}");
}
private void OnTooltipRender(Syncfusion.Blazor.HeatMap.TooltipEventArgs args)
{
// Customize tooltip content dynamically
}
}| Property | Type | Purpose |
|---|---|---|
DataSource | object | Sets the data for the HeatMap (array, JSON, or cell data) |
Width | string | Sets the width of the HeatMap (e.g., "100%", "600px") |
Height | string | Sets the height of the HeatMap (e.g., "400px") |
HeatMapCellSettings.ShowLabel | bool | Shows or hides cell labels |
HeatMapCellSettings.TileType | CellType | Sets cell type (Rect or Bubble) |
HeatMapDataSourceSettings.IsJsonData | bool | Indicates if data source is JSON format |
HeatMapDataSourceSettings.AdaptorType | AdaptorType | Sets adaptor type (Table, Cell, None) |
HeatMapPaletteSettings.Type | PaletteType | Sets palette type (Fixed or Gradient) |
HeatMapLegendSettings.Visible | bool | Shows or hides legend |
HeatMapTooltipSettings | object | Configures tooltip appearance and content |
HeatMapXAxis.ValueType | ValueType | Sets x-axis type (Category, Numeric, DateTime) |
HeatMapYAxis.ValueType | ValueType | Sets y-axis type (Category, Numeric, DateTime) |
Visualize sales performance across products and time periods using a HeatMap with gradient colors to highlight high and low performers.
When to use: Monthly/quarterly sales tracking, product comparison, regional performance analysis.
Display correlation coefficients between multiple variables in a matrix format with diverging color scheme.
When to use: Statistical analysis, data science projects, feature correlation analysis.
Monitor server CPU, memory, or network usage across multiple servers over time periods.
When to use: DevOps dashboards, infrastructure monitoring, capacity planning.
Show activity levels or event frequencies across days and months in a calendar-style layout.
When to use: GitHub-style contribution graphs, attendance tracking, activity logs.
Use bubble size to represent one metric (e.g., sales volume) and color to represent another (e.g., profit margin).
When to use: Comparing two related metrics simultaneously, portfolio analysis, competitive positioning.
| Issue | Solution |
|---|---|
| HeatMap not displaying | Verify NuGet package installation and service registration |
| Data not showing | Check DataSource binding and data format matches adaptor type |
| Colors not appearing | Configure HeatMapPaletteSettings with appropriate palette type |
| Tooltips not working | Ensure HeatMapTooltipSettings is configured with valid content |
| Axis labels missing | Set Labels property on HeatMapXAxis/HeatMapYAxis |
| Performance issues | Reduce cell count, disable animations, or implement virtualization |
For detailed troubleshooting, refer to the specific reference files for each feature area.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.