Chart Render
Render a previously saved chart by ID. Public, no API key required. Supports URL overrides for templates (?data1=, ?labels=, ?title=…).
id*stringThe chart ID returned in the X-Chart-Render-URL header when saving a chart. Format: cq-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
title?stringOverride the chart title.
labels?stringOverride X-axis labels. Comma-separated.
data1?stringOverride first dataset values. Comma-separated numbers. Use data2, data3… for additional datasets.
width?stringOverride output width in pixels (50–4000).
height?stringOverride output height in pixels (50–4000).
format?stringOverride output format.
"png""png""svg"fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
response?filebinarycurl -X GET 'https://api.chartquery.com/v1/chart/render/string'"string"