Chart
Turn numbers into clear visuals.
Core Philosophy
- Prefer clarity over chart variety.
- Choose the simplest chart that makes the comparison obvious.
- Use local generation only.
- Make outputs reusable for reports, slides, and quick decision-making.
Runtime Requirements
- Python 3 must be available as
python3 matplotlibmust be installed- No network access required
Storage
All data is stored locally only under:
~/.openclaw/workspace/memory/chart/charts.json~/.openclaw/workspace/memory/chart/output/
No cloud sync. No third-party chart APIs.
Supported Chart Types
bar: category comparisonline: trend over timepie: simple part-to-wholescatter: relationship between two variables
Key Workflows
- Suggest:
suggest_chart.py --labels ... --values ... - Generate:
make_chart.py --type bar --title "..." --labels "A,B,C" --values "10,20,15" - History:
list_charts.py - Initialize:
init_storage.py
Scripts
| Script | Purpose |
|---|---|
init_storage.py | Initialize local chart storage |
make_chart.py | Generate a chart image from inline data |
suggest_chart.py | Recommend the best chart type |
list_charts.py | Show previously generated charts |