Showing months elapsed in Gantt chart timeline?

+1 vote
asked Aug 7, 2022 in Question / help by JP Ascher

I'd like to render a monthly Gantt chart with the number of months elapsed rather than the name of the year and month. (This is used for proposals: The project could be funded one quarter, or the next, so you have to give elapsed time rather than absolute date.) For example:

@startgantt
projectscale monthly
Project starts 2024-3-1

[Task1] starts 1 March 2024 and lasts 90 days
then [Task2] lasts 90 days
@endgantt

Generates an image with the timeline on the top like:

2024
March        |        April        |       May       |      June       |       July      |       August

I'd like it to look like:

           1          |           2          |          3          |         4         |         5         |           6

How can this be changed? Is there a localization that results in just months elapsed?

commented Nov 28, 2025 by MarioKusek (100 points)
It would be nice to have option to print both (month from beginning of project and month in year). Sometimes I need conversion from month of project and month in time (year month).

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...