Mini Chart Widget
The Mini Chart renders a compact 50-candle preview for any on-chain token. Use it as a peek alongside the main Chart widget, as a correlated-symbol view, or in a monitor corner for passive price-watching.
Features
- Small footprint — 220×120 pixels, fixed-size popover rendered via portal
- 50 candles — at your choice of 1m, 5m, or 30m timeframe
- Live token header — symbol, last price, and 24h change
- Shared chart engine — uses the same lightweight-charts v4 renderer as the main Chart widget, so colors match your theme
- In-memory cache — recent requests are cached for 5 minutes (LRU, 50 entries) so reopening the same token is instant
- Auto-dismiss — closes on mouse-leave to stay out of the way
Timeframes
| Option | Candle size | Span shown (50 candles) |
|---|---|---|
| 1m | 1 minute | ~50 minutes |
| 5m | 5 minutes | ~4 hours |
| 30m | 30 minutes | ~25 hours |
How It Loads
- Looks up the token's pool address via the terminal's pair endpoint
- Fetches 50 klines from the klines endpoint at the selected timeframe
- Caches the result for 5 minutes
- Renders the candles and fits them to the viewport
If the token has no pool, no klines, or the lookups fail, the mini chart shows an error message in place of the candles.
Theme Sync
Colors are read from the terminal's shared chart colors. Change the theme or chart palette and the Mini Chart updates in place — no reload needed.
The Mini Chart is a read-only preview — no zoom, pan, crosshair, or trade entry. For interaction, open the full Chart widget.
Data Sources
- Chart pair endpoint — resolves token address to a pool on the correct chain
- Klines endpoint — OHLCV candles at 1m / 5m / 30m
- DexScreener / Padre — underlying price and pool data on supported chains