reports

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.

get/reports/project/{id}/gantt.png

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

idstring required

Project UUID

Query parameters

tokenstring required

JWT for authentication

pageSizestring

A4 (default), A3, A2, A1, A0, LETTER or TABLOID; sets the image width

orientationstring

landscape (default) or portrait; portrait narrows the image

marginsstring

narrow, normal (default) or wide

scalestring

auto (default), day, week or month

fitstring

width (default) or tiled (widen to a legible day density)

tablestring

compact (default) or full

fromstring

YYYY-MM-DD, start of the drawn range

tostring

YYYY-MM-DD, end of the drawn range

baselineIdstring

A saved baseline to overlay as grey bars

showCriticalPathstring

1 (default) or 0

showDependenciesstring

1 (default) or 0

showBaselinestring

1 (default) or 0; only applies when baselineId is given

hideCompletedstring

0 (default) or 1; drops DONE tasks and their subtasks

Headers

X-Organization-Idstring required

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.