Search found 10 matches
- Wed Aug 03, 2005 12:38 am
- Forum: JFreeChart
- Topic: Gantt Charts: can sub-tasks be displayed at all? (v1.0 rc1)
- Replies: 10
- Views: 15819
Well, it turns out I had a misconception of what a "TaskSeries" object represents. Now I understand that, for every task, you can have multiple rendered durations -- each represented by an entry in a different TaskSeries (using the same task name with a different duration). Somehow I missed that par...
- Tue Aug 02, 2005 7:40 pm
- Forum: JFreeChart
- Topic: Gantt Charts: can sub-tasks be displayed at all? (v1.0 rc1)
- Replies: 10
- Views: 15819
Well, my idea of Gantt charts came from Microsoft Project, where sub-tasks are graphically rendered along with the parent tasks. Here's an example: http://img44.imageshack.us/img44/9753/msprojectganttscreenshot4uf.th.gif I'm not expecting all of these features to exist in JFreeChart (vertical lines,...
- Mon Aug 01, 2005 8:39 pm
- Forum: JFreeChart
- Topic: Gantt Charts: can sub-tasks be displayed at all? (v1.0 rc1)
- Replies: 10
- Views: 15819
Sorry to bump this up again, but we are making a decision regarding the use of Gantt charts in our product in the next day or two, so I need to know if this is viable. I've simplified my code to just create the dataset manually without any dynamic logic (and I modified my last post to reflect that c...
- Thu Jul 28, 2005 11:14 pm
- Forum: JFreeChart
- Topic: Gantt Charts: can sub-tasks be displayed at all? (v1.0 rc1)
- Replies: 10
- Views: 15819
Ok. I've changed this post (and my code) to simply build the dataset manually. It's all hard-coded, and I'm still not seeing the sub-tasks in the rendered chart. Here's the code creating the dataset: GanttCategoryDataset getFakeData() { TaskSeriesCollection dataset = new TaskSeriesCollection(); Task...
- Thu Jul 28, 2005 12:01 am
- Forum: JFreeChart
- Topic: Gantt Charts: can sub-tasks be displayed at all? (v1.0 rc1)
- Replies: 10
- Views: 15819
- Tue Jul 26, 2005 9:26 pm
- Forum: JFreeChart
- Topic: Gantt charts: labels not lining up with task bars (v1.0 rc1)
- Replies: 5
- Views: 7064
Gantt charts: labels not lining up with task bars (v1.0 rc1)
So here's another problem I'm having with Gantt charts. I have a data set with three TaskSeries, each containing tasks with multiple levels of sub-tasks. The sub-tasks are not getting rendered (but I already submitted a post about that), but if you look at my graph, it's clear that the labels on the...
- Tue Jul 26, 2005 9:06 pm
- Forum: JFreeChart
- Topic: Gantt Charts: can sub-tasks be displayed at all? (v1.0 rc1)
- Replies: 10
- Views: 15819
Gantt Charts: can sub-tasks be displayed at all? (v1.0 rc1)
I've been using JFreeChart for a few years, but have only recently attempted to add Gantt chart support to my app. My data could potentially consist of multiple levels of sub-tasks. In my initial attempt, I had three TaskSeries containing tasks with sub-tasks going about three levels deep. Many task...
- Tue Jul 26, 2005 8:46 pm
- Forum: JFreeChart
- Topic: Gantt Chart bug: Subtasks not shown when past date range
- Replies: 4
- Views: 7309
Re: Gantt Chart bug: Subtasks not shown when past date range
Am I missing something? I haven't been able to get subtasks to get rendered at all! Both Gantt chart demos show very simple task data sets with no subtasks. What is the support for subtasks? FYI, I'm using v1.0 rc1. Thanks.
-- Nathan
-- Nathan
- Thu Jul 21, 2005 1:34 am
- Forum: JFreeChart
- Topic: Gantt subtask labels
- Replies: 1
- Views: 4008
Re: Gantt subtask labels
It looks like this code doesn't work for version 1.0 (rc1), here is a partial fix: 1. Make the following change to GanttRenderer.drawTasks() //-----HERE IS MY CODE CategoryItemLabelGenerator generator = getItemLabelGenerator(row, column); if (generator instanceof GanttLabelGenerator) { ((GanttLabelG...
- Fri Apr 11, 2003 9:27 pm
- Forum: JFreeChart
- Topic: Internationalisation
- Replies: 2
- Views: 3877
Re: Internationalisation
Try changing the font for the text to one which contains the extended character set you need. For the legend, use the setTitleFont(..) and setItemFont(..) methods. For the title, instantiate a TextTitle object with the font you wish to use, then set use the setTitle(..) method on the chart. For Wind...