Data Generation

Chart Generator

Generate a chart with minimal configuration. Just provide type, labels, and datasets with name/values. Colors are auto-assigned.

post/v1/chartgenerator

Request

  • Base URL: https://api.apiverve.com
  • URL: https://api.apiverve.com/v1/chartgenerator
  • Auth: API key in header x-api-key

Request body

typestring

Chart type

labelsstring required

Array of labels for the x-axis or chart segments

datasetsstring required

Array of datasets with 'name' and 'values'

titlestring

Optional title displayed on the chart

widthinteger

Image width in pixels

heightinteger

Image height in pixels

formatstring

Output format

Response

Successful Response

statusstring

status

errorstring

error

dataobject

data

Changes

No recorded changes to this operation across all 1 revision of this API.