Generate ASCII art charts and visualizations with customizable styles and colors.
| Type | Trigger Keywords |
|---|---|
| ------ | ------------------ |
| Bar Chart | bar chart, histogram, column chart |
| Line Chart | line chart, trend, time series |
| Pie Chart | pie chart, distribution, percentage |
| Flowchart | flowchart, process, workflow |
| Gantt Chart | gantt, timeline, schedule |
| Table | table, grid, data table |
| Tree | tree, hierarchy, org chart |
| Box Plot | box plot, statistical, distribution |
| Sparkline | sparkline, mini chart, inline |
| Preset | Characteristics |
|---|---|
| -------- | ----------------- |
minimal | Single-line borders, simple connectors |
classic | Double-line borders, box-drawing characters |
modern | Rounded corners, Unicode symbols |
retro | ASCII-only, vintage style |
elegant | Light/shadow effects, decorative elements |
| Color | Foreground | Background | Hex |
|---|---|---|---|
| ------- | ------------ | ------------ | ----- |
| Red | ▓▒░ | ▓▒░ | #FF6B6B |
| Green | ▓▒░ | ▓▒░ | #51CF66 |
| Yellow | ▓▒░ | ▓▒░ | #FCC419 |
| Blue | ▓▒░ | ▓▒░ | #339AF0 |
| Magenta | ▓▒░ | ▓▒░ | #CC5DE8 |
| Cyan | ▓▒░ | ▓▒░ | #22B8CF |
| White | ▓▒░ | ▓▒░ | #FFFFFF |
| Gray | ▓▒░ | ▓▒░ | #868E96 |
Note: Colors use block characters for density visualization (░ ▒ ▓ █).
Data: [Alice: 85, Bob: 92, Carol: 78, Dave: 95]
Style: classic
Color: blue
┌─────────────────────────────────────┐
│ Score Distribution │
├──────┬──────────────────────────────┤
│ Alice ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░ 85 │
│ Bob ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░ 92 │
│ Carol ▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░ 78 │
│ Dave ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░ 95 │
└──────┴──────────────────────────────┘
Style: modern
Direction: top-down
┌─────────┐
│ START │
└────┬────┘
│
▼
┌─────────┐ YES
│ Check ├────────┐
│ Input │ │
└────┬────┘ ▼
│ NO ┌─────────┐
▼ │ ERROR │
┌─────────┐ └─────────┘
│ Process │
└────┬────┘
│
▼
┌─────────┐
│ END │
└─────────┘
Tasks: [Design: 3d, Dev: 5d, Test: 2d]
Style: minimal
Week: 1 2 3 4 5 6 7
───────────────────────────
Design ████████
Dev ████████████████
Test ████
Segments: [A: 40%, B: 35%, C: 25%]
Style: classic
╭─────────────╮
╱ ╱ ╲ ╲
╱ ╱ B ╲ ╲
│ │ ▓▓▓▓▓ │ │
│ A │ ▓▓▓▓▓▓▓▓ │ C │
│ │ ▓▓▓▓▓▓▓▓▓ │ │
╲ ╲ ███ ╱ ╱
╲ ╲ ██ ╱ ╱
╰─────────────╯
A = 40% B = 35% C = 25%
width: 80 # Chart width in characters
height: auto # Auto or fixed height
padding: 1 # Inner padding
title: "Chart Title" # Optional chart title
labels: true # Show/hide axis labels
grid: true # Show/hide grid lines
legend: true # Show/hide legend
color_scheme: default # Color scheme preset
border: true # Show/hide border
Single: | - + | ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼
Double: ║ ═ ║ ╔ ╗ ╚ ╝ ╠ ╣ ╦ ╩ ╬
Mixed: ┎ ┒ ┖ ┚ ┞ ┦ ┷ ┸ ┺ ┾
Light: ' . : ! * - ═ ╔
Medium: + o O # @ &
Heavy: ▓ █
Arrows: > < ^ v │ ─ └ ┘ ├ ┤
Curved: ) ( [ ] { }
Always output ASCII art in code blocks for proper display:
[ASCII chart content]
Include metadata as comment if needed:
# Title: Score Distribution
# Style: classic
# Date: 2025-01-19
┌─────────────────────────────────────┐
│ Score Distribution │
...
共 1 个版本