/syncfusion-javascript:syncfusion-javascript-heat-mapfrom Syncfusion JavaScript UI Controls
Guide to implementing Syncfusion Heatmap in TypeScript and JavaScript. Immediately use this skill when user needs to visualize two-dimensional data, create gradient-based visualizations, configure axes and labels, customize cell appearance, add interactive tooltips and legends, handle heatmap events, or render large datasets with SVG/Canvas modes. Works with TypeScript (module-based) and JavaScript (CDN/ES5).
Ships in Syncfusion JavaScript UI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Syncfusion Essential JS 2 HeatMap visualizes two-dimensional data using color-coded cells. It is suitable for identifying patterns, trends, clusters, high values, low values, correlations, and density distributions across rows and columns.
This skill covers:
Use TypeScript when the application uses:
@syncfusion/ej2-heatmap npm package.Install the package:
npm install @syncfusion/ej2-heatmap
Basic import:
import {
HeatMap
} from '@syncfusion/ej2-heatmap';
Import and inject only the feature modules used by the HeatMap.
import {
HeatMap,
Legend,
Tooltip
} from '@syncfusion/ej2-heatmap';
HeatMap.Inject(
Legend,
Tooltip
);
Use global JavaScript when the application uses:
ej namespace.The global HeatMap constructor is:
ej.heatmap.HeatMap
Global JavaScript examples should not call HeatMap.Inject(...).
The JavaScript examples use ES5-compatible syntax where practical:
var declarations
Traditional functions
No optional chaining
No object spread
No JavaScript module imports
A modern browser is still recommended.
Use this skill when the task requires:
A runnable TypeScript example should include:
Imports
Required feature-module injection
Data source
HeatMap configuration
HTML host element
appendTo call
Required CSS
A runnable JavaScript example should include:
All required global scripts
HeatMap host element
Data source
HeatMap configuration
appendTo call
Required CSS
Preferred TypeScript:
const heatmap: HeatMap =
new HeatMap({
dataSource: [
[10, 20, 30],
[40, 50, 60]
]
});
heatmap.appendTo('#heatmap');
Preferred JavaScript:
var heatmap =
new ej.heatmap.HeatMap({
dataSource: [
[10, 20, 30],
[40, 50, 60]
]
});
heatmap.appendTo('#heatmap');
Avoid passing the selector as the second constructor argument.
Required HTML:
<div id="heatmap"></div>
Required attachment:
heatmap.appendTo('#heatmap');
The host ID and selector must match.
Common feature-module mapping:
Legend -> Legend
Tooltip -> Tooltip
Data adaptor -> Adaptor
Example:
import {
HeatMap,
Legend,
Tooltip,
Adaptor
} from '@syncfusion/ej2-heatmap';
HeatMap.Inject(
Legend,
Tooltip,
Adaptor
);
Inject Adaptor only when adaptor-based data binding is used.
Do not inject unused modules.
Incorrect:
import {
HeatMap
} from '@syncfusion/ej2-heatmap';
HeatMap.Inject(
Legend
);
Correct:
import {
HeatMap,
Legend
} from '@syncfusion/ej2-heatmap';
HeatMap.Inject(
Legend
);
Avoid:
ej.heatmap.HeatMap.Inject(
ej.heatmap.Legend,
ej.heatmap.Tooltip
);
Use the global constructor directly:
var heatmap =
new ej.heatmap.HeatMap({
legendSettings: {
visible: true
},
showTooltip: true
});
heatmap.appendTo('#heatmap');
For this matrix:
const data: number[][] = [
[10, 20, 30],
[40, 50, 60]
];
use three X-axis labels:
xAxis: {
labels: [
'A',
'B',
'C'
]
}
and two Y-axis labels:
yAxis: {
labels: [
'X',
'Y'
]
}
Avoid inconsistent row lengths:
const invalidData = [
[10, 20, 30],
[40, 50]
];
Import and inject Tooltip:
import {
HeatMap,
Tooltip
} from '@syncfusion/ej2-heatmap';
HeatMap.Inject(Tooltip);
Enable the feature:
showTooltip: true
Use typed event arguments:
import {
ITooltipEventArgs
} from '@syncfusion/ej2-heatmap';
Do not use:
tooltipSettings: {
visible: true
}
dataSourceSettings for JSON MappingDo not place JSON field mappings directly on the HeatMap.
Incorrect:
const heatmap: HeatMap =
new HeatMap({
dataSource: cellData,
xName: 'Month',
yName: 'Product',
valueName: 'Sales'
});
Correct:
const heatmap: HeatMap =
new HeatMap({
dataSource: cellData,
dataSourceSettings: {
isJsonData: true,
adaptorType: 'Cell',
xDataMapping: 'Month',
yDataMapping: 'Product',
valueMapping: 'Sales'
}
});
TypeScript also requires:
import {
HeatMap,
Adaptor
} from '@syncfusion/ej2-heatmap';
HeatMap.Inject(Adaptor);
Cell highlighting:
cellSettings: {
enableCellHighlight: true
}
Do not use:
enableCellHighlighting: true
Cell labels:
cellSettings: {
showLabel: true,
textStyle: {
size: '12px',
color: '#ffffff'
}
}
Cell border:
cellSettings: {
border: {
width: 1,
color: '#ffffff',
radius: 3
}
}
Do not depend on undocumented generated selectors:
.e-heatmap-cell {
border-radius: 6px;
}
Do not query assumed attributes:
document.querySelectorAll(
'[data-row]'
);
Prefer public configuration:
cellSettings: {
border: {
radius: 6
}
}
Preferred:
width: '100%',
height: '450px'
Runtime update:
heatmap.width =
'100%';
heatmap.height =
'450px';
Avoid assigning numeric dimensions unless the installed API explicitly supports them.
Executable HTML must use actual tags:
<div id="heatmap"></div>
Do not use:
<div id="heatmap"></div>
Do not place the following inside source code or CDN URLs:
<a>
<strong>
<br>
data-lexical-text
Editor-generated class names
Read:
references/getting-started.md
Use this reference for:
Read:
references/data-binding.md
Use this reference for:
Adaptor injection.dataSourceSettings.Read:
references/axes-and-labels.md
Use this reference for:
Read:
references/appearance-styling.md
Use this reference for:
Read:
references/legend-tooltip.md
Use this reference for:
showTooltip.tooltipRender.Read:
references/events-interactions.md
Use this reference for:
cellClick.cellDoubleClick.cellRender.Read:
references/advanced-features.md
Use this reference for:
<div class="heatmap-wrapper">
<div id="heatmap"></div>
</div>
.heatmap-wrapper {
width: 100%;
max-width: 900px;
margin: 0 auto;
box-sizing: border-box;
}
#heatmap {
width: 100%;
min-height: 450px;
}
import {
HeatMap,
Legend,
Tooltip,
ITooltipEventArgs
} from '@syncfusion/ej2-heatmap';
HeatMap.Inject(
Legend,
Tooltip
);
const heatmapData: number[][] = [
[73, 39, 26, 39, 94, 0],
[93, 58, 53, 38, 26, 68],
[99, 28, 22, 4, 66, 90],
[14, 26, 97, 69, 69, 3]
];
const heatmap: HeatMap =
new HeatMap({
width: '100%',
height: '450px',
titleSettings: {
text:
'Sales Revenue per Employee',
textStyle: {
fontFamily: 'Segoe UI',
fontStyle: 'Normal',
fontWeight: '600',
size: '16px',
color: '#1a1a1a'
}
},
xAxis: {
valueType: 'Category',
labels: [
'Nancy',
'Andrew',
'Janet',
'Margaret',
'Steven',
'Michael'
],
textStyle: {
fontFamily: 'Segoe UI',
fontStyle: 'Normal',
fontWeight: 'Normal',
size: '12px',
color: '#333333'
}
},
yAxis: {
valueType: 'Category',
labels: [
'Monday',
'Tuesday',
'Wednesday',
'Thursday'
],
textStyle: {
fontFamily: 'Segoe UI',
fontStyle: 'Normal',
fontWeight: 'Normal',
size: '12px',
color: '#333333'
}
},
dataSource:
heatmapData,
cellSettings: {
showLabel: true,
enableCellHighlight: true,
border: {
width: 1,
color: '#ffffff',
radius: 2
},
textStyle: {
fontFamily: 'Segoe UI',
fontStyle: 'Normal',
fontWeight: '600',
size: '12px',
color: '#ffffff'
}
},
paletteSettings: {
type: 'Gradient',
palette: [
{
value: 0,
color: '#fff4cc'
},
{
value: 50,
color: '#3b82f6'
},
{
value: 100,
color: '#172554'
}
]
},
legendSettings: {
visible: true,
position: 'Bottom',
showLabel: true,
labelFormat: '{value}'
},
showTooltip: true,
tooltipRender: (
args: ITooltipEventArgs
): void => {
const value: number =
Number(args.value);
args.content = [
'Day: ' +
String(args.yLabel),
'Employee: ' +
String(args.xLabel),
'Sales: ' +
(
Number.isFinite(value)
? '$' +
value.toFixed(0) +
'K'
: 'No data'
)
];
}
});
heatmap.appendTo('#heatmap');
Use either:
The consolidated EJ2 bundle
or:
Individual HeatMap dependency scripts
Do not combine both approaches.
Load:
1. ej2-base
2. ej2-data
3. ej2-svg-base
4. ej2-heatmap
5. Application code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>Syncfusion HeatMap</title>
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-base/dist/global/ej2-base.min.js"
type="text/javascript"
></script>
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-data/dist/global/ej2-data.min.js"
type="text/javascript"
></script>
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-svg-base/dist/global/ej2-svg-base.min.js"
type="text/javascript"
></script>
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-heatmap/dist/global/ej2-heatmap.min.js"
type="text/javascript"
></script>
<style>
.heatmap-wrapper {
width: 100%;
max-width: 900px;
margin: 0 auto;
box-sizing: border-box;
}
#heatmap {
width: 100%;
min-height: 450px;
}
</style>
</head>
<body>
<div class="heatmap-wrapper">
<div id="heatmap"></div>
</div>
<script>
var heatmapData = [
[73, 39, 26, 39, 94, 0],
[93, 58, 53, 38, 26, 68],
[99, 28, 22, 4, 66, 90],
[14, 26, 97, 69, 69, 3]
];
var heatmap =
new ej.heatmap.HeatMap({
width: '100%',
height: '450px',
titleSettings: {
text:
'Sales Revenue per Employee',
textStyle: {
fontFamily:
'Segoe UI',
fontStyle:
'Normal',
fontWeight: '600',
size: '16px',
color: '#1a1a1a'
}
},
xAxis: {
valueType:
'Category',
labels: [
'Nancy',
'Andrew',
'Janet',
'Margaret',
'Steven',
'Michael'
],
textStyle: {
fontFamily:
'Segoe UI',
fontStyle:
'Normal',
fontWeight:
'Normal',
size: '12px',
color: '#333333'
}
},
yAxis: {
valueType:
'Category',
labels: [
'Monday',
'Tuesday',
'Wednesday',
'Thursday'
],
textStyle: {
fontFamily:
'Segoe UI',
fontStyle:
'Normal',
fontWeight:
'Normal',
size: '12px',
color: '#333333'
}
},
dataSource:
heatmapData,
cellSettings: {
showLabel: true,
enableCellHighlight: true,
border: {
width: 1,
color: '#ffffff',
radius: 2
},
textStyle: {
fontFamily:
'Segoe UI',
fontStyle:
'Normal',
fontWeight:
'600',
size: '12px',
color: '#ffffff'
}
},
paletteSettings: {
type: 'Gradient',
palette: [
{
value: 0,
color: '#fff4cc'
},
{
value: 50,
color: '#3b82f6'
},
{
value: 100,
color: '#172554'
}
]
},
legendSettings: {
visible: true,
position: 'Bottom',
showLabel: true,
labelFormat: '{value}'
},
showTooltip: true,
tooltipRender:
function (args) {
var value =
Number(
args.value
);
args.content = [
'Day: ' +
String(
args.yLabel
),
'Employee: ' +
String(
args.xLabel
),
'Sales: ' +
(
Number.isFinite(
value
)
? '$' +
value
.toFixed(0) +
'K'
: 'No data'
)
];
}
});
heatmap.appendTo('#heatmap');
</script>
</body>
</html>
Use a rectangular two-dimensional array.
const data: number[][] = [
[73, 39, 26],
[93, 58, 53],
[99, 28, 22]
];
const heatmap: HeatMap =
new HeatMap({
dataSource: data,
xAxis: {
labels: [
'Q1',
'Q2',
'Q3'
]
},
yAxis: {
labels: [
'2021',
'2022',
'2023'
]
}
});
heatmap.appendTo('#heatmap');
Use this pattern for:
Use Adaptor and dataSourceSettings.
import {
HeatMap,
Adaptor
} from '@syncfusion/ej2-heatmap';
HeatMap.Inject(Adaptor);
interface SalesCell {
Year: string;
Month: string;
Value: number;
}
const cellData: SalesCell[] = [
{
Year: '2021',
Month: 'Jan',
Value: 73
},
{
Year: '2021',
Month: 'Feb',
Value: 39
},
{
Year: '2022',
Month: 'Jan',
Value: 93
}
];
const heatmap: HeatMap =
new HeatMap({
dataSource: cellData,
dataSourceSettings: {
isJsonData: true,
adaptorType: 'Cell',
xDataMapping: 'Month',
yDataMapping: 'Year',
valueMapping: 'Value'
},
xAxis: {
valueType: 'Category',
labels: [
'Jan',
'Feb'
]
},
yAxis: {
valueType: 'Category',
labels: [
'2021',
'2022'
]
}
});
heatmap.appendTo('#heatmap');
Update the existing instance.
const updateHeatMap = (
newData: number[][]
): void => {
heatmap.dataSource =
newData;
heatmap.refresh();
};
Do not recreate the HeatMap for every update.
Validate:
paletteSettings: {
type: 'Gradient',
palette: [
{
value: 0,
color: '#fff4cc'
},
{
value: 50,
color: '#3b82f6'
},
{
value: 100,
color: '#172554'
}
]
}
Use for continuous values.
paletteSettings: {
type: 'Fixed',
palette: [
{
value: 0,
color: '#dbeafe',
label: 'Low'
},
{
value: 40,
color: '#fef3c7',
label: 'Moderate'
},
{
value: 70,
color: '#fecaca',
label: 'High'
}
]
}
Use for explicit business ranges.
Also provide cell values, tooltip status, or legend labels so users do not depend on color alone.
import {
ICellClickEventArgs
} from '@syncfusion/ej2-heatmap';
const heatmap: HeatMap =
new HeatMap({
dataSource: data,
cellClick: (
args: ICellClickEventArgs
): void => {
console.log(
args.yLabel,
args.xLabel,
args.value
);
}
});
heatmap.appendTo('#heatmap');
For user-facing details, update a dedicated text element with textContent.
const heatmap: HeatMap =
new HeatMap({
dataSource: [
[35, 55, 80],
[70, 25, 60]
],
cellSettings: {
tileType: 'Bubble',
bubbleType: 'Size'
}
});
heatmap.appendTo('#heatmap');
Do not use unsupported top-level bubbleSizeMapping.
Use an explicitly selected rendering mode after performance testing.
const heatmap: HeatMap =
new HeatMap({
renderingMode: 'Canvas',
dataSource: largeData,
cellSettings: {
showLabel: false,
enableCellHighlight: false
}
});
heatmap.appendTo('#heatmap');
Do not claim automatic SVG and Canvas switching based on a fixed threshold.
dataSource -> HeatMap data.
dataSourceSettings -> Data adaptor and mapping configuration.
xAxis -> X-axis settings.
yAxis -> Y-axis settings.
titleSettings -> HeatMap title.
paletteSettings -> Color mapping.
legendSettings -> Legend settings.
cellSettings -> Cell appearance and behavior.
showTooltip -> Tooltip enablement.
renderingMode -> SVG or Canvas rendering.
theme -> Built-in visual theme.
width -> Component width.
height -> Component height.
background -> Component background when supported.
margin -> Component margins when supported.
enableRtl -> Right-to-left layout.
allowSelection -> Selection enablement when supported.
enableMultiSelect -> Multiple selection when supported.
isJsonData -> Identifies JSON object data.
adaptorType -> Table or Cell adaptor.
xDataMapping -> X-axis source field.
yDataMapping -> Y-axis source field.
valueMapping -> Cell-value source field.
valueType -> Category, Numeric, or DateTime.
labels -> Category labels.
minimum -> Numeric or DateTime minimum.
maximum -> Numeric or DateTime maximum.
interval -> Numeric or DateTime interval.
intervalType -> DateTime interval type.
labelFormat -> Numeric or DateTime label format.
labelRotation -> Label rotation.
labelIntersectAction -> Label-intersection handling.
textStyle -> Axis-label appearance.
isInversed -> Reverses axis order.
opposedPosition -> Places the axis on the opposite side.
title -> Axis-title model.
showLabel -> Displays cell values.
format -> Cell-label format.
textStyle -> Cell-label appearance.
border -> Cell border and corner radius.
enableCellHighlight -> Pointer highlighting.
tileType -> Rect or Bubble.
bubbleType -> Bubble representation.
type -> Gradient or Fixed.
palette -> Value, color, and optional label collection.
visible -> Legend visibility.
position -> Top, Bottom, Left, or Right.
width -> Legend width.
height -> Legend height.
showLabel -> Legend-label visibility.
labelFormat -> Legend-value formatting.
cellClick -> Cell click event.
cellDoubleClick -> Cell double-click event.
cellRender -> Cell-render customization.
tooltipRender -> Tooltip-content customization.
loaded -> Triggered after component rendering.
Use event interfaces instead of any when an interface is available.
renderingMode: 'SVG'
Use when vector rendering is required and performance testing confirms it is suitable.
renderingMode: 'Canvas'
Use when bitmap rendering performs better for the target matrix and environment.
Do not use:
renderingMode: 'Auto'
unless that value is explicitly supported by the installed version.
Do not define universal cell-count thresholds.
Provide:
Do not add unverified properties such as:
enableAccessibility: true
or:
allowKeyboardNavigation: true
Do not overwrite the generated HeatMap semantics with an unvalidated role="grid".
Do not hide an accessible data table with:
display: none;
Use a visually hidden technique that preserves table semantics.
For large datasets:
cellRender lightweight.refresh() once per complete update.Do not create:
generateData(
10000,
10000
);
That attempts to create 100 million cells.
✅ @syncfusion/ej2-heatmap is installed for TypeScript.
✅ HeatMap is imported.
✅ Every enabled TypeScript feature has a matching imported module.
✅ Every imported feature module is injected before HeatMap creation.
✅ Unused feature modules are not injected.
✅ Global JavaScript does not call HeatMap.Inject.
✅ All CDN scripts use the same EJ2 version.
✅ Individual CDN scripts load in dependency order.
✅ Every CDN URL ends in .min.js.
✅ The consolidated bundle is not mixed with individual scripts.
✅ The HeatMap host element exists.
✅ heatmap.appendTo('#heatmap') is called.
✅ The appendTo selector matches the host ID.
✅ The HeatMap has measurable width and height.
✅ The component dimensions use strings.
✅ The matrix is rectangular.
✅ X-axis labels match the matrix-column count.
✅ Y-axis labels match the matrix-row count.
✅ JSON binding uses dataSourceSettings.
✅ Adaptor is injected for adaptor-based TypeScript binding.
✅ Cell binding uses xDataMapping, yDataMapping, and valueMapping.
✅ Tooltip is enabled through showTooltip.
✅ tooltipRender uses ITooltipEventArgs.
✅ Tooltip values are validated before numeric formatting.
✅ Legend is injected when the legend is visible.
✅ Cell highlighting uses enableCellHighlight.
✅ Cell-label styling uses cellSettings.textStyle.
✅ Axis-label styling uses xAxis.textStyle and yAxis.textStyle.
✅ Cell borders use cellSettings.border.
✅ Gradient palettes use ordered value stops.
✅ Fixed palettes use explicit value boundaries.
✅ Rendering mode uses a supported value.
✅ Automatic rendering-mode switching is not assumed.
✅ Bubble HeatMap uses cellSettings.tileType and bubbleType.
✅ Unsupported bubbleSizeMapping is not used.
✅ Selection APIs are validated against the installed version.
✅ Unsupported CellSelection is not injected.
✅ Generated SVG or Canvas internals are not queried directly.
✅ Runtime updates modify the existing HeatMap.
✅ API responses are validated before binding.
✅ Fetch requests check response.ok.
✅ Large matrix dimensions are bounded.
✅ Timers, listeners, subscriptions, and requests are cleaned up.
✅ heatmap.destroy() is called when the view is removed.
✅ Important information is not communicated through color alone.
✅ Native controls are provided for essential user actions.
✅ A semantic data alternative is provided when required.
✅ Executable HTML uses actual angle brackets.
✅ No encoded tags replace executable HTML.
✅ No anchor elements wrap CDN URLs.
✅ No malformed .min.jsscript URLs exist.
✅ No strong, br, data-lexical-text, or editor-generated classes remain.
✅ TypeScript and JavaScript examples provide equivalent behavior.
Avoid:
const heatmap =
new HeatMap({
dataSource: data
}, '#heatmap');
Preferred:
const heatmap: HeatMap =
new HeatMap({
dataSource: data
});
heatmap.appendTo('#heatmap');
Incorrect:
HeatMap.Inject(
Tooltip
);
const heatmap: HeatMap =
new HeatMap({
tooltipRender: (
args: ITooltipEventArgs
): void => {
args.content = [
String(args.value)
];
}
});
Correct:
HeatMap.Inject(
Tooltip
);
const heatmap: HeatMap =
new HeatMap({
showTooltip: true,
tooltipRender: (
args: ITooltipEventArgs
): void => {
args.content = [
String(args.value)
];
}
});
Avoid:
tooltipRender: (
args: any
): void => {
// ...
}
Use:
tooltipRender: (
args: ITooltipEventArgs
): void => {
// ...
}
Avoid:
const heatmap: HeatMap =
new HeatMap({
dataSource: data,
xName: 'month',
yName: 'year',
valueName: 'value'
});
Use:
const heatmap: HeatMap =
new HeatMap({
dataSource: data,
dataSourceSettings: {
isJsonData: true,
adaptorType: 'Cell',
xDataMapping: 'month',
yDataMapping: 'year',
valueMapping: 'value'
}
});
Incorrect:
import {
HeatMap
} from '@syncfusion/ej2-heatmap';
const heatmap: HeatMap =
new HeatMap({
dataSourceSettings: {
adaptorType: 'Cell'
}
});
Correct:
import {
HeatMap,
Adaptor
} from '@syncfusion/ej2-heatmap';
HeatMap.Inject(
Adaptor
);
Avoid:
ej.heatmap.HeatMap.Inject(
ej.heatmap.Legend
);
Use the global constructor directly.
Do not load only:
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-base/dist/global/ej2-base.min.js"
></script>
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-heatmap/dist/global/ej2-heatmap.min.js"
></script>
Use the individual dependency order:
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-base/dist/global/ej2-base.min.js"
type="text/javascript"
></script>
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-data/dist/global/ej2-data.min.js"
type="text/javascript"
></script>
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-svg-base/dist/global/ej2-svg-base.min.js"
type="text/javascript"
></script>
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-heatmap/dist/global/ej2-heatmap.min.js"
type="text/javascript"
></script>
Avoid:
enableCellHighlighting:
true
Use:
enableCellHighlight:
true
Do not use:
cellHover: (
args
): void => {
// ...
}
unless the installed HeatMap model explicitly exposes that event.
Use validated interactions such as:
cellClick
cellDoubleClick
cellRender
tooltipRender
Do not claim:
HeatMap automatically switches to Canvas for large data.
Do not use:
renderingMode: 'Auto'
unless explicitly supported by the installed version.
Select:
renderingMode: 'SVG'
or:
renderingMode: 'Canvas'
after testing.
Avoid:
bubbleSizeMapping:
'size'
Use:
cellSettings: {
tileType: 'Bubble',
bubbleType: 'Size'
}
Avoid:
import {
CellSelection
} from '@syncfusion/ej2-heatmap';
HeatMap.Inject(
CellSelection
);
Use selection settings exposed by the installed HeatMap version.
Do not import or document HeatMap export and print modules until they are verified in the installed @syncfusion/ej2-heatmap package.
Validate:
Export method
Supported formats
Required modules
Required enablement properties
SVG behavior
Canvas behavior
Legend inclusion
Filename handling
Avoid:
enableAccessibility: true
Avoid:
allowKeyboardNavigation: true
unless the installed HeatMap API explicitly supports them.
Avoid:
<div
id="heatmap"
role="grid"
></div>
unless the complete ARIA grid pattern and keyboard interaction are implemented.
Avoid:
.data-table {
display: none;
}
Use a visually hidden style that retains semantic table content for assistive technology.
Avoid:
generateData(
10000,
10000
);
Use bounded dimensions and validate memory usage.
Avoid:
updates.forEach(
(update) => {
data[
update.rowIndex
][
update.columnIndex
] =
update.value;
heatmap.refresh();
}
);
Refresh once:
updates.forEach(
(update) => {
data[
update.rowIndex
][
update.columnIndex
] =
update.value;
}
);
heatmap.dataSource =
data;
heatmap.refresh();
Avoid:
const heatmap =
new HeatMap({
dataSource: newData
});
heatmap.appendTo('#heatmap');
Use:
heatmap.dataSource =
newData;
heatmap.refresh();
When removing the view:
window.clearInterval(
intervalId
);
window.removeEventListener(
'resize',
resizeHandler
);
requestController.abort();
heatmap.destroy();
Do not wrap the URL in an anchor element.
Do not use a URL ending with:
.min.jsscript
Use:
<script
src="https://cdn.syncfusion.com/ej2/34.2.2/ej2-heatmap/dist/global/ej2-heatmap.min.js"
type="text/javascript"
></script>
Do not use:
<div id="heatmap"></div>
Use:
<div id="heatmap"></div>
Do not place the following inside executable HTML, TypeScript, JavaScript, CSS, imports, templates, commands, or CDN URLs:
<a>
<strong>
<br>
data-lexical-text
Editor-generated class names
references/API-Refernce_JavaScript.md (opens in a new tab)references/API-Refernce_TypeScript.md (opens in a new tab)references/advanced-features.md (opens in a new tab)references/appearance-styling.md (opens in a new tab)references/axes-and-labels.md (opens in a new tab)references/data-binding.md (opens in a new tab)references/events-interactions.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/legend-tooltip.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-javascriptOther plugins' skills for the same job
67 skills in this plugin
/syncfusion-javascript-3d-chartCreate interactive 3D charts in Syncfusion TypeScript and JavaScript. Immediately use this skill when user needs to build 3D visualizations, render 3D column/bar charts, configure 3D rotation and depth, visualize data in three dimensions, customize 3D chart appearance, handle 3D interactions, or implement advanced 3D features. Works with TypeScript (webpack/module-based) and JavaScript (CDN/ES5)./syncfusion-javascript-accordionBuild collapsible navigation panels with the Syncfusion TypeScript Accordion component. Use this skill when implementing vertical accordion menus, expanding/collapsing content panels, multi-step wizards, data-driven panels with dynamic content, tabbed navigation alternatives, or nested hierarchical content structures. Covers initialization, expand modes, animations, icons, templates, styling, data binding, and advanced use cases like form wizards./syncfusion-javascript-accumulation-chartImplements Syncfusion JavaScript accumulation charts (Pie, Doughnut, Funnel, Pyramid) for proportional and percentage-based visualizations. Use when displaying categorical or proportional data. Covers legend and label configuration, interactivity, accessibility, and customization. Works with TypeScript (modules) and JavaScript (CDN/ES5).