Search found 6 matches

by lionel
Mon Apr 23, 2007 6:45 pm
Forum: JFreeChart
Topic: Gantt Chart: CatedoryAxis Width and DateAxis Height
Replies: 0
Views: 2089

Gantt Chart: CatedoryAxis Width and DateAxis Height

Hi everybody, How is it possible to find out the axis label width (for the category axis) and the axis label height (for the date axis) when drawing a gantt chart ? I mean the horizontal and vertical spaces between the following boxes: (The outter box represents the chart panel and the inner box rep...
by lionel
Thu Mar 29, 2007 10:55 am
Forum: JFreeChart
Topic: Gantt Chart: clean the category axis
Replies: 0
Views: 1895

Gantt Chart: clean the category axis

I everybody, I have a chartpanel which contains a gantt chart and I want the chartpanel (including both axes) to be updated if I modify the dataset. I want to make it is possible to select a dataset (task series collection) from a combobox and after the selection the panel shall be updated. When I c...
by lionel
Wed Mar 28, 2007 8:46 pm
Forum: JFreeChart
Topic: Gantt Chart: How to display task with a fixed width/height ?
Replies: 4
Views: 6635

Thanks again for your reply and sorry for my poor english :-) I was actually searching for a simple way to set a fixed value for the category rows (category size) so that they are not calculated depending of the available screen area. The only way I found is to write a CustomCategoryAxis class which...
by lionel
Tue Mar 27, 2007 9:33 pm
Forum: JFreeChart
Topic: Gantt Chart: Zoom to a specific date/day
Replies: 1
Views: 2443

Gantt Chart: Zoom to a specific date/day

Hi everybody, I have a question regarding the zoom operation in the chart panel. Currently it is possible to drag a certain interval and the panel will automatically zoom into this interval. How can I programmatically zoom to a specific date (java.util.Date) ? Let say I have several tasks and sub ta...
by lionel
Tue Mar 27, 2007 9:09 pm
Forum: JFreeChart
Topic: Gantt Chart: How to display task with a fixed width/height ?
Replies: 4
Views: 6635

Good idea

Thanks for your answer Demati. Now I know how to do to set the bar width myself.
The drawed bars are now centered in the display.
Do you know how I can tell the rendere to draw the bars beginning from the top of the screen (without centering them) ? many thanks in advance four your hints.
by lionel
Tue Mar 27, 2007 5:17 pm
Forum: JFreeChart
Topic: Gantt Chart: How to display task with a fixed width/height ?
Replies: 4
Views: 6635

Gantt Chart: How to display task with a fixed width/height ?

Hi everybody, I am new in JFreechart and currently I am facing the following problem: Usually when drawing a gantt chart, all the tasks and subtasks are scaled to fit to the panel so that if there is only one task, it will take the whole panel place. Is there a possibity to set a fixed width and hei...