Skip to content
On this page

Chart

Generate a chart image using chart.js configurations.

Endpoint

GET or POST https://api.browserku.com/chart

URL Query or Request Body

type

  • Type: string

Chart.js type

data

  • type: object

Chart.js data

options

  • type: object

Chart.js options

noCache

  • Type: boolean?

Skip cache (if exists).

ttl

  • Type: string?
  • Default: 1d

Set how long the response should be cached for.

response

  • Type: string?

Use a property in response data as the actual response.

If you want to render the chart image as the response, set response to chart.url.