Gantt - Markers


#1

I would like to have the marker labels not to be displayed over gantt elements.
I need to create some space between the gantt-data and the gantt-scale in order to avoid that.

immagine

Is this possible?
If yes, can you show me how to achieve this?

Regards,

Silvia


#2

Hello Silvia,
There is no built-in way to add an empty space between the timeline and scale.

The easiest approach would be to add an unscheduled task at the top position:
https://snippet.dhtmlx.com/i9fgyaps

Another way is to hide the marker text in the timeline and display it in a custom scale:
https://docs.dhtmlx.com/gantt/desktop__configuring_time_scale.html#styling
Here is an example of how it can be implemented:
https://snippet.dhtmlx.com/90o3jeit