About this endpoint
What it does
Generates a radar chart link from the chart configuration you send in the request body. The endpoint returns a JSON object containing a pre-signed URL for the generated chart image in the data field.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| theme | ENUM | No | Chart theme. Allowed values: light, dark. Default: light. |
| title | String | Yes | Chart title. Minimum length: 1. |
| labels | String Array | Yes | Radar chart axis labels. Must contain at least 3 items. Each label must be a string with minimum length 1. |
| series | Object Array | Yes | Series to plot on the chart. Must contain at least 1 item. Each series object has name and values as required fields, and may include color. |
| series[].name | String | Yes | Series name. Minimum length: 1. |
| series[].color | String | No | 6-character hex color without the leading # symbol. Must match the pattern ^[A-Fa-f0-9]{6}$. |
| series[].values | Number Array | Yes | Numeric values for the series. Must contain at least 3 items. |
| options | Object | No | Optional chart display settings. Supported fields: width, height, max_value. Additional properties are not allowed. |
| options.width | Integer | No | Chart width in pixels. Minimum: 1. |
| options.height | Integer | No | Chart height in pixels. Minimum: 1. |
| options.max_value | Number | No | Maximum value used by the chart. Minimum: 1. |
Response
Returns a JSON object with a data string field. The data value is a URI pointing to the generated chart image.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | String | Yes | Pre-signed URL for the generated chart image. Format: URI. |