Build a raw Image-Charts URL
image_charts_urlGenerate a hosted Image-Charts URL by passing raw chart parameters. Automatically signs the URL when an enterprise account id and secret are configured.
Instructions
Escape hatch for full control: pass raw Image-Charts parameters (cht, chd, chs, chco, chxt, chxl, chm, …) and get the hosted image URL. Signs the URL automatically when icac is provided and IMAGE_CHARTS_SECRET is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chd | No | Chart data, e.g. "a:1,2,3|4,5,6". | |
| chf | No | Background / gradient fill. | |
| chg | No | Grid lines. | |
| chl | No | Labels (bar/pie/slice) or QR/GraphViz payload. | |
| chm | No | Compound markers, line fills, value labels. | |
| chs | No | Size <width>x<height>. | |
| cht | No | Chart type, e.g. bvg, bvs, lc, p, pd, r, lxy, qr, gv. | |
| chan | No | Animation (renders a GIF). | |
| chbh | No | Bar width/spacing (not in the SDK typings; forwarded verbatim). | |
| chbr | No | Bar corner radius. | |
| chco | No | Series/element colors (hex, comma & pipe separated). | |
| chdl | No | Legend labels, e.g. "A|B|C". | |
| chds | No | Custom data scaling. | |
| chld | No | QR error-correction|margin, e.g. "L|4". | |
| chli | No | Doughnut inside label. | |
| chls | No | Line thickness/dash style. | |
| chma | No | Chart margins. | |
| choe | No | QR data encoding (UTF-8). | |
| chof | No | Output extension hint. | |
| chts | No | Title color,size[,align,family,style]. | |
| chtt | No | Chart title. | |
| chxl | No | Custom axis labels, e.g. "0:|A|B|C". | |
| chxr | No | Axis ranges, e.g. "0,0,100". | |
| chxs | No | Axis label styles. | |
| chxt | No | Visible axes, e.g. "x,y". | |
| icac | No | Enterprise account id; signs the URL when IMAGE_CHARTS_SECRET is set. | |
| icff | No | Google Font family (Enterprise). | |
| icfs | No | Default font style. | |
| chdlp | No | Legend position (r/l/t/b). | |
| chdls | No | Legend color,size. | |
| icqrb | No | QR background color. | |
| icqrf | No | QR foreground color. | |
| format | No | url (default), png (also fetch image), or both. | |
| iclocale | No | Locale (ISO 639-1). | |
| icretina | No | Retina mode (Enterprise). |