v1

latestOpenAPI 3.0.02026-07-13406.0 KB

Generate a chart (POST)

Generate a chart based on the provided configuration in the request body.

post/chart

Request body

chartobject

The chart configuration in Chart.js format (JSON or Javascript).

widthinteger

The width of the chart in pixels.

heightinteger

The height of the chart in pixels.

formatstring

The output format of the chart, 'png', 'jpg', 'svg', or 'webp'.

backgroundColorstring

The background color of the chart.

keystring

QuickChart API key

Response

A generated chart image.