Skip to Content

How to dynamically sort the category order in my Gantt chart

Hi experts.

Would any one help me on Gantt chart in webdynpro for java for the following scenario?

I have worker names in y axis(category) of my Gantt chart and I am showing their working status in the bar for time period.Suppose time period of my worker1 is 10/12/2005 to 12/12/2006 ,for worker2 12/12/2003 to 12/01/2007 ,for worker3 01/01/2004 to 01/02/2005. Now in my chart I am getting worker1 on top of my y axis(category). But what I want is to dynamically sort the order so that worker with lowest starting date will be on the top of my chart.That means worker2 should be on the top of my chart and worker1 will be at the bottom. Any ideas? Points are assured for any help.Thanks.

Sunit

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Mar 31, 2007 at 12:48 PM

    Thanks Shyam for your reply.I will try this.

    Sunit

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Sunit K Roy

      Hi Sunit,

      I dont think there is such an option to create scroll bars inside graphs. As usual, explorer will automatically create scroll bars if the charts exceed the page length/breadth.

      regards

      Shyam.

  • avatar image
    Former Member
    Mar 31, 2007 at 11:04 AM

    Hi Sunit,

    You can check the dates and then create the elements for the node you have attached to the gantt chart. ie, create the element for the bar which is to be shown at the bottom first.

    regards

    Shyam.

    Add comment
    10|10000 characters needed characters exceeded