Add multiple baseline to the chart

Hi Support,

can we add and show multiple baselines for a task.


Hello Rasagb,
Gantt doesn’t have a built-in feature to add baselines. But you can implement it by using the Gantt API and Javascript.
To add a baseline date, you can add a property with the Date value to the task object.
Then you can use the addTaskLayer method that allows displaying any HTML elements in the timeline:
You don’t need to add several layers for each baseline. Instead, you can create a root element and attach the baselines to it.
Here is an example of how it can be implemented:

What about presenting the baselines as on this screen?
Let’s say we want to add 4 baselines…

Hello Luis,
It seems that you want to display baselines in the mixed mode (for one task one the same row and for another task on different rows).
You need to implement a custom solution for that.
I don’t have ready examples of the implementation, and when the dev team adds a built-in way to display baselines, they won’t add that mixed mode.

If you want us to implement a custom solution for you, you can contact the Sales team: