Search found 12 matches

by Demati
Mon Apr 02, 2007 12:18 pm
Forum: JFreeChart
Topic: Gantt ItemLabel generation
Replies: 6
Views: 9132

Thank you. I will try that.
by Demati
Fri Mar 30, 2007 4:17 pm
Forum: JFreeChart
Topic: Gantt ItemLabel generation
Replies: 6
Views: 9132

TTT Some help would be greatly appreciated :)
by Demati
Fri Mar 30, 2007 2:16 pm
Forum: JFreeChart
Topic: Gantt tasks order
Replies: 7
Views: 9797

In what sense do you mean order? Order with respect to their location on an axis? You need to elaborate a bit.
by Demati
Wed Mar 28, 2007 7:51 pm
Forum: JFreeChart
Topic: Gantt ItemLabel generation
Replies: 6
Views: 9132

David, (or anybody) do you have any input?
by Demati
Wed Mar 28, 2007 3:22 pm
Forum: JFreeChart
Topic: Gantt Chart: How to display task with a fixed width/height ?
Replies: 4
Views: 6628

I don't know if I quite follow what you mean by "from the top of the screen", but you can control where on the range axis the bars are drawn, by setting the correct range values on the axis. For example you could do the following: CategoryPlot plot = chart.getCategoryPlot(); ValueAxis axis = plot.ge...
by Demati
Tue Mar 27, 2007 6:43 pm
Forum: JFreeChart
Topic: Gantt ItemLabel generation
Replies: 6
Views: 9132

So I tried to do the following experiment. I extended Task with TableTask as seen bellow: package com.local; import org.jfree.data.gantt.Task; import org.jfree.data.time.TimePeriod; public class TableTask extends Task{ private int numPeople_m; /** * */ private static final long serialVersionUID = 70...
by Demati
Tue Mar 27, 2007 6:22 pm
Forum: JFreeChart
Topic: Gantt Chart: How to display task with a fixed width/height ?
Replies: 4
Views: 6628

I was in a similar situation. I needed a fixed bar width on a Gantt chart. I went ahead and extended GanttRenderer with my own GantBarRenderer class. I overrode the calculateBarWidth() method and I was able to accomplish what I needed. I'm sure you could do something similar that would suit your nee...
by Demati
Tue Mar 27, 2007 2:39 pm
Forum: JFreeChart
Topic: Gantt ItemLabel generation
Replies: 6
Views: 9132

Am I the only one who has ever had the need to create a label for individual tasks rather than an entire series? :shock: To the top. Hopefully someone will have some useful information :?
by Demati
Fri Mar 23, 2007 3:44 pm
Forum: JFreeChart
Topic: Gantt ItemLabel generation
Replies: 6
Views: 9132

Gantt ItemLabel generation

Has anyone tried extending the available classes in JFreeChart to allow for the labeling of an individual task versus labeling the entire taskSeries? For example I want to place a different label in the center of each bar (which may or may not be in the same series) on a Gantt chart. This label woul...
by Demati
Tue Mar 06, 2007 4:10 pm
Forum: JFreeChart
Topic: Problems with Gantt Chart
Replies: 1
Views: 3064

Well I figured out I can extend GanttRenderer and then I overrode the calculateBarWidth() method. I set the bar width to a constant instead of the minimum ratio the BarRenderer class implements. Hope this helps out other people who might have the same issue.
by Demati
Mon Mar 05, 2007 5:40 pm
Forum: JFreeChart
Topic: Problems with Gantt Chart
Replies: 1
Views: 3064

Problems with Gantt Chart

I am currently working on a program that will dynamically update a Gantt Chart with reservations. I made a small app to demonstrate the problem I am running into. Sorry for the strange format of the links bellow, but the forum software will not allow me to provide a direct link since I am a newer us...
by Demati
Tue Jan 30, 2007 4:09 pm
Forum: JFreeChart
Topic: Implementing Gantt Chart Task/Subtask Overlapping
Replies: 0
Views: 2657

Implementing Gantt Chart Task/Subtask Overlapping

I know that currently JFreeChart does not allow any overlapping of tasks or subtasks. I believe it currently draws only one of the overlapping tasks and ignores the others. My question is how difficult would it be to modify the JFreeChart code to allow overlapping tasks in a Gantt chart? I do not ha...