The Angular HeatMap Chart is a graphical representation of two-dimensional data where values are represented with gradient or solid color variations. The data points are rendered as HeatMap cells using Scalable Vector Graphics (SVG) or canvas UI rendering.
Though the Angular HeatMap Chart can render data points using both SVG and canvas modes, it uses canvas rendering mode while displaying large volumes of data for the best initial load performance and optimized memory usage.
The HeatMap Chart can be bound to data using JSON or an array of objects. JSON data can be local or remote, and it can be retrieved using different adaptors. The JSON data can be nested as well.
In the HeatMap Chart, the cell selection is used to select single or multiple cells at runtime. The selected cell details are obtained via the built-in event and can be used for external processing.
The Angular Bubble HeatMap Chart or the matrix bubble chart, visualizes data using variations in bubble attributes such as size, color, and sector.
The Angular Calendar HeatMap visualizes time series data, with each data point representing a value bound to a specific time.
Populate data in the Angular HeatMap Chart using different axis types: numeric, category, and date-time.
Use a numeric axis to represent numeric data in a HeatMap.
Use a date-time axis to represent time series data in a HeatMap. Similarly, display dates and times as axis labels with different formats.
Use a category axis to represent non-numerical data in a HeatMap and display text labels instead of numbers.
The Angular HeatMap Chart allows you to customize axis elements to make an axis more readable.
Achieve RTL layout by reversing the axis labels. This swaps the higher and lower ranges of an axis.
Arrange the axes smartly by moving them to positions opposite to their default positions.
Set axis labels with regular intervals, hiding adjacent labels across all types of axes.
Rotate axis labels clockwise or counterclockwise to any desired angle.
Customize the axis label text using the available formatting options.
Customize the default appearance of a cell or data point using the available formatting options.
Toggle visibility or format the data labels to display custom text along with the cell values.
Change the borders and cell spacing by customizing the border settings.
Customize the default color settings of the HeatMap cells with gradient or solid custom colors.
Color ranges allow a color to be applied to specific ranges in HeatMap cells.
Display additional information about data points in the Angular HeatMap Chart using a legend.
Choose between a gradient pointer and a list-type legend for improving data points readability.
Place the legend anywhere in the chart area to make it fit best on a page.
The control enables paging when legend items exceed the bounds. Then, each legend item can be viewed by navigating between the pages.
A legend title provides information about the heatmap legend.
Handle missed or undefined data values with empty data points.
Display additional information for the data points with tooltips on mouse hover.
The HeatMap Chart is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different HeatMap Chart platforms from the links below,
With continuous improvement in Angular versions, the Angular HeatMap is kept up to date to make it compatible with the latest version.
Easily get started with the Angular HeatMap Chart using a few simple lines of HTML and TS code, as demonstrated below. Also explore our Angular HeatMap Chart Example that shows you how to render and configure the HeatMap Chart in Angular.
<ejs-heatmap
id="container"
[titleSettings]="titleSettings"
[xAxis]="xAxis"
[yAxis]="yAxis"
style="display:block;"
[dataSource]="dataSource"
>
</ejs-heatmap>
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
// Specifies the template string for the heatmap chart component.
templateUrl: './app.component.html',
})
export class AppComponent {
titleSettings: Object = {
text: 'Sales Revenue per Employee (in 1000 US$)',
};
dataSource: Object[] = [
[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],
];
xAxis: Object = {
labels: [
'Nancy',
'Andrew',
'Janet',
'Margaret',
'Steven',
'Michael',
'Robert',
'Laura',
'Anne',
'Paul',
'Karin',
'Mario',
],
};
yAxis: Object = {
labels: ['Mon', 'Tues', 'Wed', 'Thurs', 'Fri', 'Sat'],
};
}
The HeatMap Chart in Angular Syncfusion provides the following features:
You can find our Angular HeatMap Chart demo, which demonstrates how to render and configure the HeatMap Chart.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.