workbooks
Render a chart using workbook data
post/v1/workbooks/{id}/chart
Path parameters
idstring required
Request body
Example request
{
"apply": [
{
"target": "A2",
"value": 1234
}
],
"chart": {
"data": "=C2:C142",
"dataLines": "=C2:C142",
"numberFormat": "#,##0.0",
"labels": "=B2:B142",
"legend": "=D2:D142",
"legendLines": "=E2:E142",
"title": "=A1",
"subtitle": "=B4",
"footnote": "=H13",
"chartColors": "={\"#C40\";\"#03F\"}",
"axisValue": {
"title": "=C4",
"numberFormat": "#,##0.0"
},
"axisDim": {
"title": "=C4",
"numberFormat": "#,##0.0"
}
},
"matte": "#FFFFFF"
}Response
Chart rendered as an image