apyhub
IMAGE PROCESSING · SMART GENERATION

Generate Radar Chart API

Hosted on ApyHub

What it does

Radar Chart Generator turns a title, axis labels, and one or more series into a radar chart image or a shareable chart link. Send the chart data in the request body and choose light or dark theme, optional width and height, and an optional max_value.

Use it when you need to visualize comparative scores across several dimensions: team performance, product benchmarking, feature coverage, or survey results. Each series needs a name and values, and you can add a hex color for each series to control how it appears on the chart. The chart title and labels define the output, so the structure stays predictable for dashboards and reporting pipelines.

The service exposes two outputs. POST /download returns a binary chart image for direct download. POST /link returns a pre-signed URL in a data field, which is useful when you want to store, embed, or hand off the generated image without streaming it immediately.

If you're building internal analytics, customer reports, or comparison views, Radar Chart Generator gives you a consistent way to render the same chart data as either an image file or a hosted link.

▣ ENDPOINT 01 / 02
POST
Generate radar chart image
http://localhost:8080/apyhub/generate-simple-radar-chart/download
QUICKSTARTGUIDE

Quickstart

Create a simple radar chart image from a title, labels, and one data series.

curl -X POST "http://localhost:8080/apyhub/generate-simple-radar-chart/download" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Team Performance Scores",
    "labels": ["Speed", "Quality", "Communication"],
    "series": [
      {
        "name": "Team A",
        "values": [8, 7, 9]
      }
    ]
  }'

What you'll get back

Returns a binary file response containing the generated radar chart image.

TRY ITLIVE · 60 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Chart theme.
labels*
Axis labels for the radar chart.
series*
series-1*
6-character hex color without the leading # symbol.
values*
options

About this endpoint

What it does

Generates a radar chart image from the chart configuration in the request body and returns the rendered image as binary output.

Request Body

ParameterTypeMandatoryDescription
themeENUMNoChart theme. Allowed values: light, dark. Default: light.
titleStringYesChart title.
labelsString ArrayYesAxis labels for the radar chart. Minimum items: 3.
seriesObject ArrayYesOne or more data series to plot. Each series item includes name and values; color is optional.
series[].nameStringYesSeries name.
series[].colorStringNo6-character hex color without the leading # symbol. Pattern: ^[A-Fa-f0-9]{6}$.
series[].valuesNumber ArrayYesNumeric values for the series. Minimum items: 3.
optionsObjectNoChart sizing and scale options. Additional properties are not allowed.
options.widthIntegerNoChart width in pixels. Minimum: 1.
options.heightIntegerNoChart height in pixels. Minimum: 1.
options.max_valueNumberNoMaximum value used for the chart scale. Minimum: 1.

Response

Returns a binary image response. The output schema is a string with binary format, so the success payload is the generated chart file rather than a JSON object.

Query parameters

Name
Type
Description
outputOPTIONAL
string

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.