ATK Graphics Bridge
ctx.atk.* — composite and native renderers for plot-line pairs, fill bands, tables, rectangles, and volume profiles.
ATK Bridge: Use It for Composite or Native Renderers#
Use ctx.atk.* when the repo already gives you a higher-level renderer that would be awkward to rebuild
from raw objects. The bridge is especially useful for plot-line pairs, fill bands, tables, rectangles,
volume profiles, and grouped shapes.
Available ctx.atk.* renderers#
| Renderer | Use for |
|---|---|
ctx.atk.plot_line(...) | Named line series that can be referenced by fill_between. |
ctx.atk.fill_between(...) | Fill area between two bridge line keys. |
ctx.atk.table(...) | Composite table dashboard with ATK-native layout. |
ctx.atk.rectangles(...) | Batched rectangle or zone regions. |
ctx.atk.volume_profile(...) | Volume profile composite visual. |
ctx.atk.candlestick(...) | Compact candle bundle from OHLC arrays. |
ctx.atk.horizontal_bar(...) | Horizontal bar profile at a given x anchor. |
ctx.atk.dual_horizontal_bar_fixed(...) | Dual-profile overlay at a fixed x position. |
When to choose the ATK bridge over ctx objects#
- The visual is a richer composite that pairs multiple renderers (e.g. line + fill, candles + profile).
- The repo already exposes a higher-level helper that matches the need.
- You are working with grouped payloads rather than single objects.
When to stay with native ctx objects#
-
You need a single line, label, box, or table and the plain
ctx.*API covers it cleanly. -
The visual is simple enough that the bridge adds no benefit.