C

Chart Generator

資料分析v1.0.0
作者:AgentPMT更新於 2026-06-24chart-generator@clawhub_agentpmt/chart-generator
資料視覺化報表生成

據 AlphaMoat 統計,截至 2026-09,Chart Generator 累計下載 2,980 次、獲 2 個星標,在全部 5,078 個 AI 技能中排名第 3,743 位,在「資料分析」分類(399 個)中排名第 282 位。

累計安裝
171
累計下載
2980
星標
2
全站排名
#3,743
全站前 74% · 「資料分析」前 71%
平台累計安裝累計下載星標評論
ClawHub ↗3853--
SkillHub ↗17129802—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文列出柱狀、折線、餅圖等圖形型別,並說明透過 AgentPMT 遠端呼叫生成圖像。輸入和輸出可能發往 AgentPMT 或相容服務;機密或受監管資料應避免遠端提交,檢查圖表標註、單位和視覺表達。 需要連接 AgentPMT 帳號及已啟用此工具的 Agent Group,使用前核對最新 schema 與點數費用。簽章檔案連結會到期;回傳 base64 或關閉檔案儲存仍會把圖表資料傳送到託管服務,並非本機處理。

資料釋出於 2026-10-27

可以用來做什麼

  • 選擇適合資料的圖表型別
  • 準備報告或演示用圖表草稿
  • 檢查圖例、軸標籤和單位

什麼時候用

  • 需要把資料快速視覺化時
  • 確認資料適合遠端處理並驗證生成圖表準確性時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

為這些非敏感資料建議圖表型別和標註;先核對將傳送的資料內容,不呼叫遠端服務。

月度資料趨勢

累計下載2980
880200831362026-03 · 累計下載 10362026-05 · 累計下載 14652026-06 · 累計下載 15222026-08 · 累計下載 22132026-09 · 累計下載 298026-0326-09
星標2
1222026-03 · 星標 12026-05 · 星標 22026-06 · 星標 22026-08 · 星標 22026-09 · 星標 226-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。 該技能有同名的其他版本,調整前的資料歸屬當前下載量最大的這一個。

月份累計下載環比星標
2026-092980—2
2026-082213—2
2026-061522+3.9%2
2026-051465—2
2026-031036—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

18 KB · ClawHub v1.0.0
---
name: chart-generator
description: "Chart Generator: Create many types of charts and graphs from data with built in styling and theme - including bar, line, pie, scatter, doughnut, radar. Use when an agent needs chart generator, create business dashboards with professional charts, generate marketing reports with colorful visualizations, build presentation slides with modern dark themed graphs, produce academic papers with publication quality figures, generate chart, chart type, data through AgentPMT-hosted remote tool calls."
version: 1.0.0
homepage: https://www.agentpmt.com/marketplace/chart-generator
compatibility: "Agent instructions for AgentPMT-hosted remote tool calls. Follow this skill body for supported account, wallet, and setup routes. No local command runtime is declared."
metadata: {"author":"agentpmt","openclaw":{"homepage":"https://www.agentpmt.com/marketplace/chart-generator"}}
---
# Chart Generator
展開全部(共 448 行)
## Freshness
Last updated: `2026-06-24`.

If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.

## What This Tool Does
Generate modern, professional charts and graphs from data. Supports multiple chart types including bar, line, pie, scatter, doughnut, radar, and more. Features five preset themes for different use cases: Corporate (professional blues and grays), Modern Dark (presentation-ready with vibrant accents), Minimal (publication-quality with subtle colors), Colorful (marketing-friendly with distinct hues), and Academic (colorblind-accessible). Charts can be exported in multiple formats including PNG, SVG, PDF, and WebP. The tool handles custom styling, responsive sizing, gradient fills, data labels, and complex configurations. Perfect for creating data visualizations for reports, presentations, dashboards, social media, and documentation. Returns chart images as signed URLs with configurable expiration or as base64-encoded data for immediate embedding.

## Product Instructions
### Chart Generator - Tool Instructions

#### Overview
Generate modern, professional charts and graphs from data. Supports 9 chart types (bar, line, pie, doughnut, scatter, bubble, radar, polar area, horizontal bar), 5 preset themes plus custom styling, and 4 export formats (PNG, SVG, PDF, WebP). Charts can be returned as cloud-stored file URLs or base64-encoded data for immediate embedding. Powered by QuickChart API (Chart.js compatible).

---

#### Actions

##### generate_chart
Generate a chart image from structured data with theme and format options.

**Required Parameters:**
- `chart_type` (string): Type of chart. One of: `"bar"`, `"line"`, `"pie"`, `"doughnut"`, `"scatter"`, `"bubble"`, `"radar"`, `"polarArea"`, `"horizontalBar"`
- `data` (object): Chart.js compatible data object. Must contain `labels` (array of strings) and/or `datasets` (array of dataset objects). Each dataset has `label` (string), `data` (array of numbers or point objects), and optional color overrides (`backgroundColor`, `borderColor`, `borderWidth`).

**Optional Parameters:**
- `theme` (string, default: `"corporate"`): Preset theme. One of:
  - `"corporate"` - Professional blues/grays, white background, top legend. Best for business reports.
  - `"modern_dark"` - Dark background (#1E1E1E) with vibrant accent colors, bottom legend. Best for presentations.
  - `"minimal"` - Black/white/gray tones, very subtle grid. Best for publications.
  - `"colorful"` - Vibrant pink/blue/yellow/teal/purple/orange. Best for marketing and social media.
  - `"academic"` - Colorblind-accessible palette (blue, orange, green, purple, brown, gray), black grid. Best for scientific publications.
  - `"custom"` - No preset applied; use `custom_options` to style from scratch.
- `width` (integer, default: 600, range: 100-2000): Chart width in pixels.
- `height` (integer, default: 400, range: 100-2000): Chart height in pixels.
- `title` (string): Chart title text displayed on the chart.
- `background_color` (string, default: `"white"`): Background color. Accepts named colors (`"white"`, `"transparent"`), HEX (`"#FFFFFF"`), RGB (`"rgb(255,255,255)"`), or HSL.
- `output_format` (string, default: `"png"`): Output format. One of: `"png"` (raster), `"svg"` (vector, scalable), `"pdf"` (document), `"webp"` (compressed).
- `device_pixel_ratio` (integer, default: 1): `1` for normal displays, `2` for retina/high-DPI displays.
- `custom_options` (object): Custom Chart.js options object to override theme defaults. Supports any Chart.js 3.x/4.x option (plugins, scales, etc.).
- `return_base64` (boolean, default: false): If true, returns base64-encoded image data instead of a file URL. Useful for embedding in emails or immediate display.
- `store_file` (boolean, default: true): If true, stores the chart in cloud storage and returns a signed download URL.
- `expiration_days` (integer, default: 7, range: 1-7): Number of days until the stored file expires and is automatically deleted.

**Example - Simple Bar Chart:**
```json
{
  "action": "generate_chart",
  "chart_type": "bar",
  "data": {
    "labels": ["Q1", "Q2", "Q3", "Q4"],
    "datasets": [{"label": "Revenue", "data": [45000, 52000, 48000, 61000]}]
  },
  "title": "Quarterly Revenue 2025",
  "theme": "corporate",
  "width": 800,
  "height": 500
}
```

**Example - Multi-Dataset Line Chart (Dark Theme, Retina):**
```json
{
  "action": "generate_chart",
  "chart_type": "line",
  "data": {
    "labels": ["Jan", "Feb", "Mar", "Apr", "May", "Jun"],
    "datasets": [
      {"label": "Product A", "data": [12, 19, 15, 22, 28, 25]},
      {"label": "Product B", "data": [8, 14, 18, 16, 20, 24]}
    ]
  },
  "title": "Product Sales Comparison",
  "theme": "modern_dark",
  "width": 1000,
  "height": 600,
  "output_format": "png",
  "device_pixel_ratio": 2
}
```

**Example - Pie Chart (Colorful):**
```json
{
  "action": "generate_chart",
  "chart_type": "pie",
  "data": {
    "labels": ["Desktop", "Mobile", "Tablet"],
    "datasets": [{"data": [55, 35, 10]}]
  },
  "title": "Traffic by Device",
  "theme": "colorful"
}
```

**Example - Scatter Plot (Academic, SVG):**
```json
{
  "action": "generate_chart",
  "chart_type": "scatter",
  "data": {
    "datasets": [{
      "label": "Sample Data",
      "data": [{"x": 10, "y": 20}, {"x": 15, "y": 25}, {"x": 20, "y": 22}, {"x": 25, "y": 30}]
    }]
  },
  "title": "Correlation Analysis",
  "theme": "academic",
  "width": 700,
  "height": 500,
  "output_format": "svg"
}
```

**Example - Custom Styled Chart:**
```json
{
  "action": "generate_chart",
  "chart_type": "bar",
  "data": {
    "labels": ["Mon", "Tue", "Wed", "Thu", "Fri"],
    "datasets": [{"label": "Tasks Completed", "data": [5, 8, 12, 7, 10]}]
  },
  "title": "Weekly Productivity",
  "theme": "custom",
  "background_color": "#F5F5F5",
  "custom_options": {
    "plugins": {"legend": {"display": false}},
    "scales": {"y": {"beginAtZero": true, "grid": {"color": "rgba(0, 0, 0, 0.1)"}}}
  }
}
```

**Example - Base64 Return (No File Storage):**
```json
{
  "action": "generate_chart",
  "chart_type": "line",
  "data": {
    "labels": ["1", "2", "3", "4", "5"],
    "datasets": [{"label": "Values", "data": [10, 20, 15, 25, 30]}]
  },
  "theme": "minimal",
  "return_base64": true,
  "store_file": false
}
```

**Example - PDF Export with Custom Expiration:**
```json
{
  "action": "generate_chart",
  "chart_type": "bar",
  "data": {
    "labels": ["Category A", "Category B", "Category C"],
    "datasets": [{"label": "Results", "data": [65, 85, 75]}]
  },
  "title": "Survey Results",
  "theme": "corporate",
  "output_format": "pdf",
  "width": 800,
  "height": 600,
  "expiration_days": 3
}
```

**Response fields:**
- `chart_type`: Chart type used
- `theme`: Theme applied
- `format`: Output format
- `width`, `height`: Dimensions
- `size_bytes`: File size in bytes
- When `return_base64` is true: `base64_data` (string), `content_type` (MIME type)
- When `store_file` is true: `file_id` (string), `signed_url` (temporary download URL), `expiration_date` (ISO date)

---

#### Data Format

Standard chart types (bar, line, pie, doughnut, radar, polarArea, horizontalBar):
```json
{
  "labels": ["Label 1", "Label 2", "Label 3"],
  "datasets": [{
    "label": "Dataset Name",
    "data": [10, 20, 30],
    "backgroundColor": "optional color override",
    "borderColor": "optional border color",
    "borderWidth": 1
  }]
}
```

Scatter and bubble charts use point objects instead of simple values:
```json
{
  "datasets": [{
    "label": "Points",
    "data": [{"x": 10, "y": 20}, {"x": 15, "y": 25}]
  }]
}
```

Multiple datasets are supported. Theme colors are auto-assigned to datasets that do not specify their own colors.

---

#### Workflows

1. **Business Dashboard Chart** - Use `generate_chart` with `theme: "corporate"`, a bar or line chart, and `store_file: true` to get a signed URL for embedding in reports.
2. **Email-Embedded Chart** - Use `generate_chart` with `return_base64: true` and `store_file: false` to get base64 data for inline embedding in emails.
3. **Scientific Publication Figure** - Use `generate_chart` with `theme: "academic"`, `output_format: "svg"` for scalable vector output suitable for print.
4. **Marketing Infographic** - Use `generate_chart` with `theme: "colorful"`, pie or doughnut chart, and `device_pixel_ratio: 2` for high-resolution social media images.
5. **Dark Mode Presentation Slide** - Use `generate_chart` with `theme: "modern_dark"`, large dimensions (1920x1080), and `device_pixel_ratio: 2`.
6. **Custom Branded Chart** - Use `theme: "custom"` with `custom_options` to apply your own colors, fonts, grid styles, and legend placement.

---

#### Notes

- Maximum chart dimensions are 2000x2000 pixels.
- Stored files expire after 1-7 days (configurable via `expiration_days`).
- The `data` object must contain at least a `datasets` array. The `labels` array is required for most chart types but not for scatter/bubble charts.
- When using `theme: "custom"`, no preset styling is applied. Combine with `custom_options` for full control.
- `custom_options` merges on top of theme defaults, so you can start with a theme and override specific options.
- The `device_pixel_ratio: 2` option doubles the rendered resolution (useful for retina displays) but also increases file size.
- If both `return_base64: true` and `store_file: true` are set, you get both the base64 data and a stored file URL.
- Validation: `chart_type` and `data` are required for `generate_chart`. Missing either returns a 400 error.
- Recommended sizes: social media 800x600, reports 1000x600, presentations 1920x1080.

## When To Use
- Use this skill for `Chart Generator` on AgentPMT.
- Use it when an agent needs this specific tool's behavior, schema, inputs, outputs, and invocation shape.
- Search and activation keywords: chart generator, create business dashboards with professional charts, generate marketing reports with colorful visualizations, build presentation slides with modern dark themed graphs, produce academic papers with publication quality figures, generate chart, chart type, data.
- Supported action names: `generate_chart`.

## Use Cases
- Create business dashboards with professional charts
- Generate marketing reports with colorful visualizations
- Build presentation slides with modern dark-themed graphs
- Produce academic papers with publication-quality figures
- Design social media infographics with custom styling
- Automate report generation with data-driven charts
- Create real-time monitoring dashboards
- Generate email campaign analytics visualizations
- Build data analysis notebooks with embedded charts
- Produce financial reports with professional formatting

## Related Product Skills
- File Management: ../file-management (ClawHub: `file-management`, page: https://clawhub.ai/agentpmt/file-management; skills.sh: `npx skills add AgentPMT/agent-skills --skill file-management`)

## Categories And Industries
No categories or industry tags are published for this tool.

## Actions And Schema
Complete generated action schema: `./schema.md`.
Supported action count: `1`.
x402 availability: not enabled for this product.

- `generate_chart` (action slug: `generate-chart`): Generate a modern, professional chart image from structured data. Supports 9 chart types (bar, line, pie, doughnut, scatter, bubble, radar, polarArea, horizontalBar), 5 preset themes plus custom styling, and 4 export formats (PNG, SVG, PDF, WebP). Returns chart as a cloud-stored file URL or base64-encoded data. Price: `2` credits. Parameters: `background_color`, `chart_type`, `custom_options`, `data`, `device_pixel_ratio`, `expiration_days`, `height`, `output_format`, plus 5 more.

## Live Schema And Examples
Use the compact schema above for ordinary calls. Before a new production integration, or whenever parameters, enum values, nested objects, outputs, or examples are unclear, fetch live details first.

- Exact schema: call `agentpmt-tool-search-and-execution` with `action: "get_schema"`, and `tool_id: "chart-generator"`.
- Detailed examples: call `agentpmt-tool-search-and-execution` with `action: "get_instructions"` and `tool_id: "chart-generator"`, or call this product with `action: "get_instructions"` when the product tool is already selected.
- Treat returned live schema and instructions as more specific than this generated summary.

MCP schema lookup through the main AgentPMT MCP server:

```json
{
  "method": "tools/call",
  "params": {
    "name": "AgentPMT-Tool-Search-and-Execution",
    "arguments": {
      "action": "get_schema",
      "tool_id": "chart-generator"
    }
  }
}
```

For live examples, keep the same MCP tool and use these arguments:

```json
{
  "action": "get_instructions",
  "tool_id": "chart-generator"
}
```

Authenticated AgentPMT REST schema lookup body:

```json
{
  "name": "agentpmt-tool-search-and-execution",
  "parameters": {
    "action": "get_schema",
    "tool_id": "chart-generator"
  }
}
```

Authenticated AgentPMT REST live examples body:

```json
{
  "name": "agentpmt-tool-search-and-execution",
  "parameters": {
    "action": "get_instructions",
    "tool_id": "chart-generator"
  }
}
```

## Call This Tool
Product slug: `chart-generator`

Marketplace page: https://www.agentpmt.com/marketplace/chart-generator

- AgentPMT account route: first use `../agentpmt-account-mcp-rest-api-setup` to connect the main MCP server or REST API for an Agent Group where this tool is enabled.
- x402 route: not enabled for this product.
- AgentPMT overview: use `../what-is-agentpmt` for marketplace, Agent Group, workflow, MCP, REST, and payment concepts.

If those setup skills are not installed beside this product skill, use the downloads below.

Core AgentPMT setup skills:
- What AgentPMT is: ../what-is-agentpmt
  - ClawHub page: https://clawhub.ai/agentpmt/what-is-agentpmt
  - OpenClaw install: `openclaw skills install what-is-agentpmt`
  - skills.sh install: `npx skills add AgentPMT/agent-skills --skill what-is-agentpmt`
- AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup
  - ClawHub page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup
  - OpenClaw install: `openclaw skills install agentpmt-account-mcp-rest-api-setup`
  - skills.sh install: `npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup`

skills.sh install script:

```bash
npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
```

MCP call shape after the main AgentPMT MCP server is connected:

```json
{
  "method": "tools/call",
  "params": {
    "name": "Chart-Generator",
    "arguments": {
      "action": "generate_chart",
      "background_color": "white",
      "chart_type": "bar",
      "custom_options": {},
      "data": {
        "datasets": [
          {
            "backgroundColor": "example backgroundColor",
            "borderColor": "example borderColor",
            "borderWidth": 1,
            "data": [
              1
            ],
            "label": "example label"
          }
        ],
        "labels": [
          "example label"
        ]
      },
      "device_pixel_ratio": 1,
      "expiration_days": 7,
      "height": 400,
      "output_format": "png"
    }
  }
}
```

Use the exact tool name returned by `tools/list`; the name above is the expected readable form.

Authenticated AgentPMT REST call body:

```json
{
  "name": "chart-generator",
  "parameters": {
    "action": "generate_chart",
    "background_color": "white",
    "chart_type": "bar",
    "custom_options": {},
    "data": {
      "datasets": [
        {
          "backgroundColor": "example backgroundColor",
          "borderColor": "example borderColor",
          "borderWidth": 1,
          "data": [
            1
          ],
          "label": "example label"
        }
      ],
      "labels": [
        "example label"
      ]
    },
    "device_pixel_ratio": 1,
    "expiration_days": 7,
    "height": 400,
    "output_format": "png"
  }
}
```

Use the setup skill for the account connection details before making REST calls.

## Response Handling
- Treat the returned JSON as the source of truth for this tool call.
- If the response includes warnings or correction targets, apply them before retrying.
- If the response includes a `passed` or success-style boolean, use it as the workflow gate.
- If validation fails or the response shape is unclear, call `get_schema` or `get_instructions` before retrying.
- If `generate_chart` fails, preserve the request parameters and retry only after fixing schema, auth, or payment errors.

## Security
- Do not place account secrets, wallet private keys, mnemonics, signatures, or payment headers in prompts or logs.
- Keep tool inputs scoped to the minimum content needed for the task.
- Use the setup skills for credential handling; this product skill only defines product-specific behavior.

## AgentPMT Reference
- What AgentPMT is: ../what-is-agentpmt (ClawHub: `what-is-agentpmt`, page: https://clawhub.ai/agentpmt/what-is-agentpmt; skills.sh: `npx skills add AgentPMT/agent-skills --skill what-is-agentpmt`)
- AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup (ClawHub: `agentpmt-account-mcp-rest-api-setup`, page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup; skills.sh: `npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup`)
- Marketplace product: https://www.agentpmt.com/marketplace/chart-generator
- AgentPMT main MCP server: https://api.agentpmt.com/mcp/
- AgentPMT REST invoke endpoint: https://api.agentpmt.com/products/purchase

「資料分析」分類下的熱門技能

AdMapix資料分析

AdMapix 的取數層:把廣告與應用相關的查詢轉成介面呼叫,只回原始 JSON。

↓ 36.6萬★ 304fly0pants
Tavily Search資料分析

透過 Tavily 搜尋公開網頁,並回傳含連結與摘要的結構化結果。

↓ 12.2萬★ 286Xiaoran Li
Data Analysis資料分析

把資料庫、表格與匯出的原始資料變成可決策結論的資料分析技能。

↓ 10.1萬★ 244Iván
Stock Analysis資料分析

用 Yahoo Finance 資料做股票與加密貨幣分析、組合跟蹤的技能。

↓ 7.5萬★ 299udiedrichsen
Stock Watcher資料分析

管理本地自選股清單,並按代碼彙總同花順行情與近期表現的技能。

↓ 6.5萬★ 122Robin797860
全國招標中標查詢及分析【知了標訊】資料分析

全網招中標資料查詢與分析助手。當用戶涉及以下任何場景時,必須使用此SKILL:查詢招標/中標公告、搜尋標訊、查詢臨期/即將到期專案、商機預測、推薦潛在投標供應商、分析公司主營業務/歷史中標、查詢公司上下游合作客戶與供應商、分析競爭對手/競對企業、查詢Top採購單位/Top中標單位/Top中標品牌、招中標資料統計分析(按月/季/年/省份/品牌等維度)、查詢品牌型號歷史中標單價/價格趨勢、市場分析/行業分析/採購尋源/渠道拓展等採購與投標相關場景。即使使用者沒有提到「知了標訊」,只要涉及招投標、採購、中標、供應商、競爭對手等關鍵詞,都應使用本SKILL。

↓ 5.6萬★ 13user_98035bfb
Blogwatcher資料分析

用命令列監控部落格與 RSS/Atom 源的更新。

↓ 5.4萬★ 75Peter Steinberger
Model Usage資料分析

彙總 Codex 或 Claude 按模型計費的使用成本。

↓ 5萬★ 114Peter Steinberger

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。