# UGTrendChart 趋势图

> 适配器：React；状态：available；slug：`trend-chart`。

用于以轻量折线和面积展示连续数据变化。

## 适用场景

- 少量连续数据需要多系列趋势对比、图例筛选和逐点明细。

## 不适用场景

- 需要缩放、钻取、复杂坐标轴或海量数据时使用独立图表扩展包。

## 公开入口

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

```tsx
import { UGTrendChart } from '@ug666/ui-react/components'
```

## 使用规则

- 具体 Props、事件、插槽和默认值必须读取当前包类型与组件文档，不得猜测。
- 受控值使用当前组件声明的 value/onValueChange 或公开回调。
- 涉及 Hook、Portal 或浏览器状态时保留 client boundary。
- 只通过公开 Props、事件、插槽、class/className 和语义 Token 扩展。

## 相关候选

- [statistic-card](https://ui.ug666.top/ai/react/components/statistic-card.md)
- [donut-chart](https://ui.ug666.top/ai/react/components/donut-chart.md)
- [bar-chart](https://ui.ug666.top/ai/react/components/bar-chart.md)

## 生成前检查

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