ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Arrows linking Gantt tasks
Posted by Marko on Aug-01-2009 05:16
Attachments:
Hi

Is there any option to draw relations between tasks on Gantt charts? Do I have to do this 'manually' : read the coordinates of the task, calculate start/end point and use line()?

Thank you for your great work.
gantt.png

  Re: Arrows linking Gantt tasks
Posted by Peter Kwan on Aug-02-2009 00:34
Attachments:
Hi Marko,

Unluckily, there is no built in feature in ChartDirector to draw the lines that join the tasks. You would need to get the start and end points coordinates and use BaseChart.line to join them.

A few years ago, I have written a very brief example in Java as follows:

http://www.chartdir.com/forum/download_thread.php?bn=chartdir_support&thread=1152536399#N1152561910

The Java and PHP ChartDirector API is very similar, so I think the above may be of some help even if you are using PHP.

Regards
Peter Kwan
gantt_join_java.png