POST
/
v1
/
workbooks
/
{id}
/
chart
JavaScript
import Grid from '@grid-is/api';

const client = new Grid({
  apiKey: 'My API Key',
});

const response = await client.workbooks.renderChart('id', { chart: {} });

console.log(response);

const content = await response.blob();
console.log(content);
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Options for rendering a chart from workbook data.

Response

Chart rendered as an image

The response is of type file.