Heatmap
Heatmaps visualize two-dimensional categorical data with color-encoded values — GitHub's contribution graph is the canonical example. ApexCharts ships heatmap support natively.
Note:
heatmapis an ApexCharts-specific chart type. Chart.js does not have a native equivalent; switching tochartjsthrowsType.Not Supported Exception
Basic Example — Activity heatmap
One color for every row
Each row of a heatmap is a series, and without colors each row takes a color of the palette, so a
cell can only be read against the cells of its own row. Give colors one color and every row takes
it, shaded by value, so the busiest cell of the whole chart is the strongest:
Range-colored — server CPU
On the sequential scale
The sequential scale colors a value from faint to strong, here the hours with the most orders. enableShades is off so each cell shows the step of its range as declared. In dark mode the scale runs outward from the dark page, so the quietest hours stay the faintest in both modes.
License note
ApexCharts is non-MIT — see the License section on the Chart overview page and apexcharts.com/license for the full terms.
See Also
Design Tokens
See ApexCharts adapter — Design Tokens for the color, typography, and grid tokens shared across every ApexCharts demo.