HeatmapCell API
API reference docs for the React HeatmapCell component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { HeatmapCell } from '@mui/x-charts-pro/Heatmap';
// or
import { HeatmapCell } from '@mui/x-charts-pro';Learn about the difference by reading this guide on minimizing bundle size.
| Name | Type | Description |
|---|---|---|
| height* | number | The height of the element. |
| width* | number | The width of the element. |
| x* | number | The position of the element in the x-axis. |
| y* | number | The position of the element in the y-axis. |
The component cannot hold a ref.
Source code
If you did not find the information in this page, consider having a look at the implementation of the component for more detail.