📊 波瓣图——React 现代图表组件,基于重绘图构建
概览
仪表盘和模型排行榜的图表 精美的React图表,用于仪表盘和AI基准测试,主题为Lobe UI。 文档 ·更新日志 ·报告错误 ·请求功能 ![][npm-release-link] ![][vercel-link] ![][discord-link]![][npm-downloads-link]![][GitHub-releasedate-link]![][GitHub-动作-测试-链接] ![][GitHub-动作-发布-链接] ![][GitHub-贡献者-链接] ![][GitHub-forks-link]![][github-stars-link]![][github-issues-link] ![][GitHub-许可证-链接] Lobe Charts(@lobehub/charts)是一个用于仪表盘和AI产品的React图表库,基于Recharts构建,并设计用于Lobe UI应用。
概述(AI 翻译)
波瓣图
仪表盘和模型排行榜的图表
精美的React图表,用于仪表盘和AI基准测试,主题为Lobe UI。
文档 ·更新日志 ·[报告错误][github-issues-link] ·[请求功能][github-issues-link]
目录
目录
- 💡 为什么选择叶状图?
- 🚀 入门指南
- 🤖 人工智能驱动开发
- 📖 文档
- ⌨️ 地方发展
- 🤝 贡献
- 🩷 赞助商
- 🔗 链接
- 制作人员
💡 为什么是叶状图?
Lobe Charts(@lobehub/charts)是一个用于仪表盘和人工智能产品的React图表库,基于Recharts构建,并设计用于Lobe UI应用。
- 仪表盘所需的一切 - 业务图表、火花线、热力图和状态跟踪器合一包
- 为人工智能产品打造 - 现成的模型基准和排行榜图表,配有您自己的品牌图标
- 适合你的Lobe UI应用 - 图表遵循Lobe UI主题,因此看起来一致且无需额外样式
- 简单的数据优先道具 - 传递对象数组并选择绘制的键
- 全类型 - 每个组件的TypeScript类型
- Agent-ready - 编码代理可以从 [
skills.md[skills-md-link] 和 ['llms.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
💡 Why Lobe Charts?
Lobe Charts (@lobehub/charts) is a React chart library for dashboards and AI products, built on recharts and designed to fit Lobe UI apps.
- Everything a dashboard needs - business charts, sparklines, heatmaps and status trackers in one package
- Made for AI products - ready-made charts for model benchmarks and leaderboards, with your own brand icons
- Fits your Lobe UI app - charts follow the Lobe UI theme, so they look consistent without extra styling
- Simple, data-first props - pass an array of objects and choose which keys to plot
- Fully typed - TypeScript types for every component
- Agent-ready - coding agents can learn the library from [
skills.md][skills-md-link] and [llms.txt][llms-txt-link]
🚀 Getting Started
$ bun add @lobehub/charts
@lobehub/ui (v6), react and react-dom (v19) are peer dependencies; install them too if your project does not have them yet. The package is ESM only.
import { LineChart } from '@lobehub/charts';
const data = [
{ date: 'Jan 22', Inverters: 2338, SolarPanels: 2890 },
{ date: 'Feb 22', Inverters: 2103, SolarPanels: 2756 },
{ date: 'Mar 22', Inverters: 2194, SolarPanels: 3322 },
];
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add lobehub/lobe-charts