GanttChart « GanttChart « JFreeChart Q&A





1. jfree gantt chart taskseries    stackoverflow.com

I want to display a gantt chart with a task series where there are many subtasks. I want taskseries to be in a colour and the rest of the white space ...

2. gantt chart legend    jfree.org

DITTO. Managers are criticizing my prototype, and I'm going to have to switch to another product if I can't get my gantt Task chart to show basic, simple legends for the bars shown. I don't understand why anybody would design a chart type consisting of two major bar types (scheduled bar and completion bar) and only provide a legend for one ...

3. Segmented lines on a Gantt Chart.    jfree.org

I am trying to draw segmented lines (with various spacing in between) on a Gantt Chart and was wondering if the SegmentedTimeline is the correct way of going about it. I have seen samples of how to set up a SegmentedTimeline but not how to add it to an axis and show it on a panel. If someone has done this ...

4. Creating Gantt Chart in JAVA    jfree.org

Hi! can you please help me how to create Gantt Chart in Java. I need this in my sch proj. how can i start... i laready install and run all java req. is there any free source code how to build Gantt Chart... PLEASE Help me to build a Gantt Chart. Thank you very much

5. Please Help! - need help w/ Gantt Chart custom renderer    jfree.org

public class MyGanttRenderer extends GanttRenderer { public MyGanttRenderer() { super(); } public Paint getItemPaint(int row, int column) { ...

6. Gantt Chart and Timeseries    jfree.org

In gantt chart, if the start time and end time is within the same year, that is 2/1/98- 5/27/98, the Y-axis will not display the year. My question is: how can we add to the Y-axis to include the year? In addition, is there anyway you can customize the date in the Y-axis instead of dynamically changing based on the time ...

7. Gantt chart and cewolf    jfree.org

I am creating a gantt chart for my web application utilizing cewolf. However, the customization I made does not apply in the web. Everything else works, except the customization. The following code demonstrate the problem: JFreeChart chart = ChartFactory.createGanttChart( "Gantt Char Test", "Team", "Date", dataset, true, true, false ); In this case, The title ("Gantt Chart Test"), domain axis("Team"), and range ...

8. Two questions to the Gantt Chart    jfree.org

Hi all, i made with the following source code a gantt diagramm that should show the holidays from some peopels: Now i have two problems: a) Is it posible too draw a horicontal line for each person? (like this with paint edited picture): b) Another big problem is when a person have more than ones holidays. Look at this with paint ...

9. Gantt Chart    jfree.org





10. Gantt Chart    jfree.org

11. GanttChart BarHeight    jfree.org

12. GanttChart rightclick    jfree.org

13. Gantt Chart RightClick    jfree.org

i generated a ganttchart for the technicians tasks.right now iam showing the details of a particular task(like work order no,customername, customer no etc...) as tooltip.is it possible to show these details, if user right clicks the task bar,and selects the show properties from the popupmenu.and is it possible to generate action event for each task on the gantt chart. please help ...

14. GanttChart and XYLines    jfree.org

15. is it possible to control Y-axis in the gantt chart    jfree.org

Generated the gantt chart for technicians work details, in the gantt chart we are displaying the technician names on the Y-axis, if the technician's are more than 15 than BAR Height is getting reduced and if it is more than 30 technicians than the technician names and bars are overlapping,so at a time i want to show only 10 technicians details, ...

16. Gantt charts    jfree.org





18. Jfreechart Gantt Chart    jfree.org

Hello , I am new to using jfreechart. it is a good one. I have a problem. I am using the gantt chart . For my custom use, I would like to have Integer / Float values instead of the Date/Time. How can I accomodate this data type in the gantt chart.Any sample code will be of gr8 help. Thanks, praj ...

19. Gantt Chart or Hybrid Timeline ?    jfree.org

Greetings All, [let me preface my question by saying I just recently started researching jfreechart, have purchased the dev guide, and am finding it to be extremely well put together. I have a few basic graphs working through jsp/servlets and am quite happy with the ease of implementation so far. It looks as though it is going to satisfy my requirements ...

20. GanttChart - Milestones ?    jfree.org

Hello all, I'm very new on JFreeChart and this community. I'm just trying to create a Gantt-Chart for a little application. In this application the user can create different tasks and also milestones (like MS Project). The display of the different tasks is not a problem but I didn't find a chance to display a kind of milestones. I have already ...

21. Gantt Chart Issue    jfree.org

Hi David, I am drawing a Gantt Chart using JFreeChart. The following is the data that I am fetching from the database: ACTID NAME PLNSTRTDATE PLNENDDATE ACTSTRTDATE ACTENDDATE 5 Approve PMP 5/1/2006 6/30/2006 5/1/2006 5/1/2006 140 Check in/Check out 5/1/2006 6/30/2006 5/1/2006 5/1/2006 139 Doc Preparation 5/1/2006 6/30/2006 5/1/2006 5/1/2006 103 HW/SW 5/1/2006 6/30/2006 5/1/2006 5/1/2006 6 Baseline PMP 6/1/2006 6/21/2006 ...

22. How to use Gantt chart ?    jfree.org

23. Manipulation of Ganttchart    jfree.org

Hi, i want to use jfreeChart in my web app with cewolf. I want to now if is there any way to manipulate the measures of the gantchart bars. My problem is that when i try to generate a ganttChar with more than 5 task, the bars become to small even if i make the img bigger. sorry for my english. ...

24. Need Info on Gantt Chart .. Urgent    jfree.org

Dear all, I was given a job to produce gantt chart in gui mode (not web images). I've already downloaded jfreechart and bought the developer's guide, and have read some parts of the guide, especially on customising chart, but still unsure which part could solve my problems. I need info on these matters : 1. In GanttDemo2 example, in the date ...

25. Urg: How to set time in Gantt Chart    jfree.org

Hi All, I need to display a gantt chart which needs to show minimum span of 8 hours. That is, if the graph is for 4 hours, I should see the time line for 8 hours and graph for 4 hours. If graph is more than 8 hours, then I need to display those many hours as the graph shows. But ...

26. Gantt Chart Help me Please    jfree.org

Hello... I have a problem. I need to display a gantt chart with linking tasks. I mean one task should not start before another task has been finished. But I don't know how to "draw" this link between the tasks showing this meaning. Help me please.. Can I do it with Jfreechart gantt charts??? Thanks a lot Mariane

27. How to set interval for Gantt chart?    jfree.org

Thanks Dave. One more doubt. Is there any way to set minimum timeinterval in the chart? That is, For any instance, I need to display minimum 8 intervals.(i.e. 4hours). It might be represented as follows If graph length is less than 8 intervals, chart should be as follows <----------- 8 Intervals ----------> <---- Graph length -----> ____________________________ |---------------------------- | |____________________________| If ...

28. Gantt Chart , only two series?    jfree.org

29. Gantt Chart convert from Java Applet to JPEG file    jfree.org

my task requires me to generate a gantt chart based on the data that i read from a text file. i found two samples for gantt chart but it is all showing in java applet. now i want to put it up to the website, i was thinking creating a jpeg file and then img src is up to the website. ...

30. Gantt Chart    jfree.org

31. Generating a Gantt chart from StringTokenizer    jfree.org

Generating a Gantt chart from StringTokenizer by erickh Wed Nov 29, 2006 10:39 am the codes below is performing a stringtokenizer method then extract the values out to be passed in into the Gantt chart. i am having alot of problem in "IntervalCategoryDataset createDataset" method. i want to create a loop to check for the next record to continue running ...

32. Gantt Chart    jfree.org

How to create GanttChart .......can anyone guide me......Thanks a lot.....because this is the first time i using java and JFreeChart to do for my assignment..... i want to save the GanttChart as JPEG file.... possible for me to do that????? i got 3 attribute save in my database that is task, startdate and enddate..... Thanks

33. gantt chart    jfree.org

hi, Are anyone now is it posible to create gantt chart with no date on Y axis? Actually, we want to represent operations of one process - after first operation(which runs for example 5 minutes) starts the second operation(which runs for example 25 minutes),...? Y asis must start from 0, and contains minutes or hours. Thanks in advance

34. Chronogram with Gantt chart    jfree.org

Hi! i'm developing a chronogram whit a Gantt chart but i cant couse i need something like overlap several taskseries in the same row (the row of the task) . When i add a taskserie to taskseriescollection it uses a new row even it belongs to the same task. The aim of this is getting a row with a mix of ...

35. set range in gantt chart    jfree.org

Hi everybody, i have a TaskSeriesCollection data set which contains tasks. Each Task contains a SimpleTimePeriod(Date,Date): e.g.: TaskSeries s1 = new TaskSeries("Scheduled"); s1.add(new Task("Alpha Implementation", new SimpleTimePeriod(date1,date2))); now the chart should only show a range from dateA to dateB. is this possible?? I only found a setRange-Method with two double parameter.... best regards

36. Implementing Gantt Chart Task/Subtask Overlapping    jfree.org

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 have much experience with the code itself, so ...

37. Gantt Chart vertical ticks    jfree.org

You'll need to modify the VerticalCategoryAxis class. The refreshTicks() method grabs the text for the label from the category in the dataset, just using the toString() method. You could truncate the label here if you wanted to. To get the full text into a tooltip is more difficult. I'd recommend looking into extending the chart entity framework to include entities drawn ...

38. Gantt Chart help    jfree.org

39. Problems with Gantt Chart    jfree.org

Problems with Gantt Chart by Demati Mon Mar 05, 2007 5:40 pm 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 ...

41. Gantt Chart Clarification    jfree.org

Hi, I am new to JFreeChart. I want to create GanttChart. But the GanttChart should have only lines for each task's start time and End Time without Bar filling the gap between the start time and end time. Also each task can have the subtasks and the subtasks also should have only lines as specified above for start time and end ...

43. Combined Gantt Chart?    jfree.org

David, This is what I'm trying to do. I started off with a gantt chart with 1 series. That's fine, the height of each task is sufficient. I then added two other series and the blocks become quite small. I have tried changing margins and everything else, but nothing seems to work. I then decided to try and use a combined ...

44. Gantt chart with data    jfree.org

Hello, This is my first post and wondering if the following objective can be achieved or not. The report needs to be displayed in Excel and it should look like project management tool. Following is an example of the data how it should look like:- (dotted lines indicate horizontal bar)two bars for each record one to represent planned and another to ...

45. Ganttchart doubts    jfree.org

Ganttchart doubts by shyma Tue Jun 19, 2007 9:04 am Hi, I have a couple of questions on working with Gantt chart. 1)When I add subtasks dynamically they are displayed as individual tasks in the graph how do i solve this? my code is given below Code: Select all loop ...

46. Font issue on a gantt chart    jfree.org

This is an annoying problem and I can't seem to figure what I'm doing wrong. Its supposed to be simple. All I'm trying to do is to change number axis's ticklabel font. But everytime I write it out on a pdf I always get the arial font.Here is source code. Any help is appreciated. JFreeChart jfreechart = ChartFactory.createGanttChart(null, null, null, createDataset(), ...

47. Gantt Charts and additional data    jfree.org

48. Ganttchart from Databasetable    jfree.org

49. How can i use the jfree GanttChart Demo in Oracle Forms!    jfree.org

Hallo, i am working in Oracle Forms and i want to display a gantt chart. So i came across the jfree chart and saw the gantt chart demo 1 and 2. I followed the installation procedures and runned the application, it worked fine. But now i want to be able to create a javabean which will contain the java classes for ...

51. gantt chart    jfree.org

52. Gantt Chart Critical Path    jfree.org

It doesn't exist. I'm not sure whether it would be better to add something to the Gantt chart based on the CategoryDataset, or look at something based on the XYTaskDataset implementation (which is a fraction more flexible). I'll let you decide. Do you have the JFreeChart Developer Guide? There are a couple of demos included for the XYTaskDataset that you might ...

53. Gantt Chart with SWT and Eclipse RCP    jfree.org

Thanks for the quick response. I tried both suggestions, running 1.0.12 now, but am still seeing the same behavior. Interestingly the chart is being created and is loaded into the new view b/c the context menus work correctly and I can save the chart to disk and then view it in an editor. It appears that the ChartComposite is not repainting ...

54. Gantt Charts    jfree.org

55. *** Gantt Chart - Need Help***    jfree.org

Hi , I am creating a Gantt chart with single series which has many tasks . requirement : Every alternative task name on Y axis should be in Bold letters and I shud represent few tasks in the series with different colours. please let me know whether we can do it with Jfreechart / any alternatives asap. Thanks suri

56. Any good alternative to Jfreechart - Gantt Chart    jfree.org

Hi, Can anyone suggest me any altenative java api library for creating Gantt Chart images and displaying in web like Jfreechart. I have done research on many components all of them are end user applications they are not providing api for developers. It would be great help if someone would come up with ideas. Thanks suri

57. Gantt Chart Single Series    jfree.org

58. GanttChart with LineChart    jfree.org

59. Gantt Chart Horizontal Line.    jfree.org

60. help regarding gantt chart    jfree.org

61. GanttChart customization    jfree.org

GanttChart customization by romuald Mon Sep 07, 2009 4:20 pm Hello, I'm using jfreecharts 1.0.13(great stuff, I'm realy impressed, it can solve any chart issue I could ever imagine) in my Swing application. I decided to use GanttChart. I managed to customize it , but there's one problem. Because there are many tasks in the chart i decided to use: ...

62. [Gantt Chart] How to customize X-axis with a type of double    jfree.org

Dear everybody, I am creating a kind of graph which is similar to Gantt chart and I am happy that jfreechart has supported Gantt chart. However, the support is not very flexible. I looked through every corner of the forum but still can't find the solution for my problem. I would like to create a Gantt Chart ;however, my chart has ...

63. Gantt chart Minor ticks    jfree.org

Hi All, I 've downloaded v1.0.13 and implemented the MinorTicks. It looks great. Now what I want to know is that, 1) can we differentiate the color of the Ticks and MinorTicks differently. I cant see any method to color/paint the MinorTicks seperately. It comes with Red color by default. 2) Can we set the rangeAxis.setMinorTickMarkInsideLength(float); -> to the height of ...

64. how to get the value in Gantt chart    jfree.org

static class LabelGenerator implements CategoryItemLabelGenerator { public LabelGenerator() { } public String generateLabel(CategoryDataset dataset, int series, int category) { ...

65. Gantt chart requirement in Jfreechart 1.0.13    jfree.org

Hi All, I am displaying a gantt to show the resource utilization. In which I may have to show "more than one Gantt" for a resource. For eg: Parking stand as my domain Axis and Time (00:00 to 23:59) is my range Axis. for a parking stand and occupancy time I am showing in Gantt so it might have the values ...

66. Gantt Chart creation    jfree.org

Code: Select all final JFreeChart chart = ChartFactory.createGanttChart( "Gantt Chart Demo", // chart title "Task", // domain axis label ...

67. Gantt chart x-axis    jfree.org

Hi All, How are you doing? I am new to JFreeChart and working with Gantt chart for the first time. JFreeChart API is really awesome..... In my code when I create the Gantt chart using the Task serires dataset, by default the X-axis scale is getting set for the giving dates (ex: Jan2010 Feb2010.....) . Here I want to customize the ...

68. GanttChart but how    jfree.org

Hi, I want to render a GanttChart for car projects with attached workers, but need your help, because my gantt chart is looking very confusing. It should look like this: --------------------------------------------------------------- -- some space -- -- to be continued -- --------------------------------------------------------------- Therefor I defined a Taskseries for ...

69. Bug in CategoryPlot setOrientation VERTICAL with Gantt chart    jfree.org

Bug in CategoryPlot setOrientation VERTICAL with Gantt chart by MarkU Mon Mar 14, 2011 1:50 pm When the Plot orientation in the following Gantt chart is set to Horizontal, Tasks plot correctly against the date axis, but when switched to Vertical they plot 'backwards' in time - so 2012 appears as 2011 and Q3 appears as Q2. Toggle lines 38/39 ...

70. problem with created Gantt chart    jfree.org

problem with created Gantt chart by alberwaaz Fri Apr 22, 2011 2:02 pm Hii ,,, I have problem with gantt chart connected with database, the chart wasnot drawn correctly,, I dont konw what the problem !!! Code: Select all import java.awt.Color; import java.util.Date; import java.util.Calendar; import org.jfree.ui.ApplicationFrame; import org.jfree.ui.RefineryUtilities; import org.jfree.chart.ChartFactory; import org.jfree.chart.*; import org.jfree.chart.JFreeChart; import org.jfree.data.category.IntervalCategoryDataset; import org.jfree.data.gantt.Task; import ...

71. Question about the Gantt Chart    jfree.org

Question about the Gantt Chart by Guest Wed Oct 15, 2003 3:57 am When I use the Multi-TaskSeries and add Tasks to the collection. I found that the Tasks in the TaskSeries after the first TaskSeries had the same sequence as in the first TaskSeries. for example: Code: Select all public static IntervalCategoryDataset createMyGanttDataset() { ...

72. Gantt chart question    jfree.org

Hi, I'm looking into jfreechart and may wish to use it for my project. I have some questions though. Specifically on the gantt charts. Our project needs a webpage which show a number of projects. These projects can have three states: - No problems - Some problem but no delays expected - Problems and delay expected We wish to give the ...