Line Charts
Time-series with Bresenham line drawing
Area Charts
Filled regions for drawdowns and underwater curves
Histograms
Horizontal bar charts from HistogramData
Heatmaps
Shaded block characters for correlation and monthly returns
Scatter Plots
Buy/sell markers with triangle glyphs
Dashboard
Full PlotBundle rendered as a multi-section report
Quick Start
Individual Charts
line_chart
| Parameter | Type | Default | Description |
|---|---|---|---|
timestamps | Sequence[float] | required | X-axis values |
values | Sequence[float] | required | Y-axis values |
width | int | 72 | Chart width in characters |
height | int | 18 | Chart height in rows |
title | str | "" | Title above chart |
marker | str | "·" | Character for line drawing |
multi_line
Overlay multiple series with different markers.
area_chart
Filled area from the line down to the bottom axis.
bar_chart
Horizontal bars with labels.
histogram_chart
Render a HistogramData from the plotting module.
ascii_heatmap
Render a HeatmapData using shade characters: ░ ▒ ▓ █.
ascii_scatter
Render a TradeScatterData with ▲ (buy) and ▼ (sell) markers.
ascii_calibration
Render a CalibrationPlotData with perfect line (·) and actual points (●).
sparkline
Compact single-row chart using Unicode block elements.
dashboard
Render an entire PlotBundle as a multi-section ASCII report.
Use Cases
- Claude Code / AI agents: Get visual feedback without leaving the terminal
- CI/CD pipelines: Embed charts in build logs
- SSH sessions: Visualize on remote machines without X forwarding
- Logging: Append charts to strategy log files
- Notebooks: Quick preview before rendering with matplotlib