# UGHeatmapChart 热力图

> 适配器：Vue；状态：available；slug：`heatmap-chart`。

用于以二维色阶展示活跃度、密度和时间分布。

## 适用场景

- 二维时间或分类数据需要快速发现密集区和低谷。

## 不适用场景

- 需要精确读取全部数字时使用 Table；只有单维分类时使用 BarChart。

## 公开入口

- 包入口：`@ug666/ui-vue/components`
- 公开成员：`UGHeatmapChart`
- 交互文档：[https://ui.ug666.top/vue/components/heatmap-chart](https://ui.ug666.top/vue/components/heatmap-chart)

```vue
import { UGHeatmapChart } from '@ug666/ui-vue/components'
```

## 使用规则

- 具体 Props、事件、插槽和默认值必须读取当前包类型与组件文档，不得猜测。
- 双向值优先使用组件声明的 v-model 参数。
- 事件、插槽和 expose 以 Vue 类型为准，不照搬 React 回调名。
- 只通过公开 Props、事件、插槽、class/className 和语义 Token 扩展。

## 相关候选

- [bar-chart](https://ui.ug666.top/ai/vue/components/bar-chart.md)
- [trend-chart](https://ui.ug666.top/ai/vue/components/trend-chart.md)
- [table](https://ui.ug666.top/ai/vue/components/table.md)

## 生成前检查

- 当前适配器是否真实提供该组件。
- 导入路径、组件名和 API 是否存在于当前版本类型声明。
- 是否覆盖长文本、窄容器、键盘、焦点、disabled、loading 和错误状态。
