Download the project Gantt chart as a single PNG image
The same drawing as gantt.pdf, laid out on one page tall enough for every row and rasterized. The page size sets the image width (fit=tiled widens it to a legible day density instead of adding pages); the height grows with the row count. Refuses a schedule too tall for one image (422 PNG_TOO_LARGE, use the PDF) and answers 501 PNG_UNAVAILABLE on a deployment without the rasterizer. Same query options, visibility rule and rate limit as gantt.pdf.
Request
- Base URL: https://api.onplana.com/api
- URL: https://api.onplana.com/api/reports/project/{id}/gantt.png
- Auth: one of:
- HTTP bearer
- API key in header Authorization
Path parameters
Project UUID
Query parameters
JWT for authentication
A4 (default), A3, A2, A1, A0, LETTER or TABLOID; sets the image width
landscape (default) or portrait; portrait narrows the image
narrow, normal (default) or wide
auto (default), day, week or month
width (default) or tiled (widen to a legible day density)
compact (default) or full
YYYY-MM-DD, start of the drawn range
YYYY-MM-DD, end of the drawn range
A saved baseline to overlay as grey bars
1 (default) or 0
1 (default) or 0
1 (default) or 0; only applies when baselineId is given
0 (default) or 1; drops DONE tasks and their subtasks
Headers
UUID of the active organization. Sets org context for all scoped operations.
Response
PNG file download; X-Gantt-Png-Width and X-Gantt-Png-Height carry the pixel size
Changes
No recorded changes to this operation across all 1 revision of this API.