@zhangguiping-xydt

Chart

OpenClaw Chart plugin — generate bar, line, pie, scatter, and area charts as SVG images

Current version
v2026.5.31-2
code-pluginCommunitysource-linked

Chart Generator

OpenClaw 图表生成插件 — 支持柱状图、折线图、饼图、散点图、面积图,输出纯 SVG,零依赖。

安装

openclaw plugins install clawhub:chart-plot

使用

安装后在对话中直接让 agent 生成图表:

把这份销售数据画成柱状图

插件会注册一个 chart 工具,agent 自动调用。

支持的图表类型

类型tool type 参数
柱状图bar
折线图line
饼图pie
散点图scatter
面积图area

配置

{
  "plugins": {
    "entries": {
      "chart-generator": {
        "enabled": true,
        "config": {
          "defaultWidth": 800,   // 默认宽度 (200–4000)
          "defaultHeight": 500   // 默认高度 (200–4000)
        }
      }
    }
  }
}

开发

git clone https://github.com/zhangguiping-xydt/chart-generator.git
cd chart-generator

# 编译
npx esbuild index.ts --outfile=index.js --format=esm --platform=node --bundle --external:'openclaw/plugin-sdk/*' --external:'node:*' --target=node24

许可

MIT

Source and release

Source repository

zhangguiping-xydt/chart-plot

Open repo

Source commit

f1b4206f6276e02d59750ec158697dfecfeeba07

View commit

Install command

openclaw plugins install clawhub:chart-plot

Metadata

  • Package: chart-plot
  • Created: 2026/05/28
  • Updated: 2026/05/28
  • Executes code: Yes
  • Source tag: master

Compatibility

  • Built with OpenClaw: 2026.5.31
  • Plugin API range: >=2026.5.31
  • Tags: latest
  • Files: 8