Chart image URL
get_chartA ready-to-embed 1600×900 PNG chart of a metric's history in TGMCharts' house style (watermarked, as-of stamped). Returns the canonical URL — fetch or embed it directly (); it is edge-cached and needs no key. Sector-gated or empty histories render an honest explanation card rather than failing.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Trailing window in years | |
| metric | Yes | Chart-tier metric slug (see list_metrics) | |
| symbol | Yes | Ticker symbol, e.g. AAPL | |
| compare | No | Second ticker for grouped comparison bars (bar metrics only) |