We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

add arrows on gantt chart

Thread ID:

Created:

Updated:

Platform:

Replies:

82597 Jun 17,2009 08:40 AM Jun 24,2009 09:34 AM WPF 6
loading
Tags: Chart
Ron Rais
Asked On June 17, 2009 08:40 AM

Hi,
I'm evaluating your tool suite and i'm very impressed.
Wanted to ask: Is ti possible to add arrows to the gantt chart?
I want to create a chart where the various bars represent tasks with start and finish times, and they have dependencies (the tasks). I want to be able to draw arrows from a task (bar) to the tasks (bars) that depend on it.
Is there any way to achieve what i need?
Thanks!

Ron Rais
Replied On June 18, 2009 05:48 AM

Hi,
How can i get the location on screen of a chart element like bar of a gantt chart?

Thanks!

Administrator [Syncfusion]
Replied On June 18, 2009 06:30 AM

Hi,

Currently we do not provide support to 'Adding arrows to the Gantt Chart'. This has been confirmed as a Feature Request.We will implement this feature in our forthcoming new version releases or service pack releases.We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity.

We will get back to you once the feature is implemented.

Thank you for your interest in Syncfusion products.

Regards,
Sowmya.N

Ron Rais
Replied On June 18, 2009 08:15 AM

Hi,
Thanks for the quick reply.
Is it possible to retrieve location of a specific bar inside the chart, so I can attach an arrow to it using ChartAnnotationLabel ?


Thanks!

Administrator [Syncfusion]
Replied On June 23, 2009 03:35 AM

Hi Ron,

Thanks for your interest in Syncfusion Products.

Yes, it is possible to retrieve location of the specific bars.

To retrieve location of the specific bars, we could use the ValueToPoint API.

Code Snippet:

double offsetx = area.ValueToPoint(area.PrimaryAxis, 5);
double offsety = area.ValueToPoint(area.SecondaryAxis, 30);

The retirieved points could then be passed as ChartAnnotation Offset values
Please refer to the attached Sample given in the below link.

http://files.syncfusion.com/support//Chart.WPF/7.3.0.37/F82597/main.htm

We sincerely appologise you for the late reply.

Please let us know if you have further queries.

Regards,
Sowmya.N

Ron Rais
Replied On June 23, 2009 08:07 AM

Hi,
Thanks for the reply.
Your sample helped, but it's not exactly what I need.
I need to know the "physical" location of the bar on the screen (meaning the co-ordinates of the whole bar shape itself), in order to draw arrows that connect between different bars. I also require these arrows to be binded, so when the chart gets zoomed, the arrows are redrawn and still show connection between 2 bars.
I attached a drawing of what I need.

Thanks a lot!



gantt_chart_d2f2ae22.jpg

Administrator [Syncfusion]
Replied On June 24, 2009 09:34 AM

Hi,

We are putting togather a sample to illustrate setting up connecting lines and move the points with mouse drag. We will need one more day to put this togather.

Thanks for your patience.

Regards,
Praveen

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;