A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
pmgahan
- Posts: 6
- Joined: Fri Mar 16, 2007 4:58 am
Post
by pmgahan » Thu Mar 29, 2007 3:01 am
Hi, how can I give a specific display order to my tasks on the Gantt chart?
Thanks,
Patrick.
-
pmgahan
- Posts: 6
- Joined: Fri Mar 16, 2007 4:58 am
Post
by pmgahan » Fri Mar 30, 2007 8:46 am
I need to get the tasks in the correct order, I'm sure someone had this problem already.
Thanks,
Patrick.
-
Demati
- Posts: 12
- Joined: Tue Jan 30, 2007 4:04 pm
Post
by Demati » Fri Mar 30, 2007 2:16 pm
In what sense do you mean order? Order with respect to their location on an axis? You need to elaborate a bit.
-
pmgahan
- Posts: 6
- Joined: Fri Mar 16, 2007 4:58 am
Post
by pmgahan » Mon Apr 02, 2007 6:35 am
No, actually I wan't the tasks to be displayed in a certain order.
I mean row order, as A task first then B task and finally C task.
Thanks,
Patrick
-
david.gilbert
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
-
Contact:
Post
by david.gilbert » Mon Apr 02, 2007 5:27 pm
In the TaskSeriesCollection class (is that what you are using?) the series remain in the same order as you add them to the collection.
-
pmgahan
- Posts: 6
- Joined: Fri Mar 16, 2007 4:58 am
Post
by pmgahan » Tue Apr 03, 2007 3:34 am
Yes, that's what I'm using, but the tasks do not remain in the same order that I add them.
And worst of all is that I don't understand the logic for the order in which they are displayed.
Thanks.
Patrick.
-
pmgahan
- Posts: 6
- Joined: Fri Mar 16, 2007 4:58 am
Post
by pmgahan » Tue Apr 03, 2007 4:24 am
I've added the Milestones and summary tasks patches, maybe that is the problem.
Thanks.
Patrick.
-
jblancx
- Posts: 24
- Joined: Tue Sep 02, 2008 11:27 am
- Location: Germany
Post
by jblancx » Mon Sep 22, 2008 8:28 am
pmgahan wrote:I've added the Milestones and summary tasks patches, maybe that is the problem.
Thanks.
Patrick.
Hallo Patrick,
how did you use the Summary and Milestone patches in your gantt code.
Can you please show an example?
Thanks