About this endpoint
What it does
Generates a calendar heatmap chart image from a chart title and an array of dated numeric values, then returns the rendered image as binary data.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| title | String | Yes | Chart title. |
| data | Object Array | Yes | Array of date/value points used to build the heatmap. Each item requires date and value. |
| data[].date | String | Yes | Date in YYYY-MM-DD format. |
| data[].value | Number | Yes | Numeric value for the date. |
| options | Object | No | Optional chart styling options. |
| options.color_low | String | No | 6-character hex color without the leading # symbol. |
| options.color_med | String | No | 6-character hex color without the leading # symbol. |
| options.color_high | String | No | 6-character hex color without the leading # symbol. |
| options.color_empty | String | No | 6-character hex color without the leading # symbol. |
| options.color_med_low | String | No | 6-character hex color without the leading # symbol. |
Response
Returns a binary response body containing the generated chart image. The output schema is a string with contentEncoding: binary, so the success response is the image file itself rather than a JSON object.