Gantt chart

Hi there,

i want to implement a Gantt chart for my project.
we want to show multiple order for a line which has start and end production schedule dates.
As we marked in attached image.
please suggest how to achieve this?
If possible, please provide a sample code also.

Thanks in advance.


Hi,
‘segmented’ content of a tasks can be created using task_text template function. Probably the outer content which is displayed below each segment can be added that way as well. The function can return any html string, that will be placed inside the task element.
Check the example
docs.dhtmlx.com/gantt/samples/04 … ntent.html

docs.dhtmlx.com/gantt/api__gantt … plate.html
docs.dhtmlx.com/gantt/api__gantt … mdate.html

Hi,
thanks for reply.

Actually we wanted to show multiple task in single line.i.e multiple bars in same line.

For Example for line Tag4 (Y-Axis), we should able to display all the below orders with start and end time against time axis(X axis) as show in the image.
OrderNo StartTime EndTime
Order1 17 MARCH 7 AM 17 MARCH 12 PM
Order2 17 MARCH 12 PM 17 MARCH 1:30 PM
Order3 17 MARCH 1:30 PM 17 MARCH 7 PM
Order4 17 MARCH 9 PM 18 MARCH 2 AM

dhtmlxGantt does not support multiple tasks in a row. You may check the timeline mode of dhtmlxScheduler dhtmlx.com/docs/products/dhtmlxS … ndex.shtml