Hello,
I have to create a Gantt chart with time as xaxis. i saw the demo it displays month in xaxis.as i'm new to java and new jFreechart,
Object task1 = new String("Write Proposal");
s1.add(task1, new TimeAllocation(date(1, Calendar.APRIL, 2001),
date(5, Calendar.APRIL, 2001)));
i want to provide a number value for the task1 and
for TimeAllocation how can i provide hour,minute,seconds instead of
day,month,year.
Thanks ,
Divya.
Gantt Chart
Re: Gantt Chart
The TimeAllocation class will work with any instances of java.util.Date. I just created the date(day, month, year) method as a convenience. You can create your dates using hours, minutes, seconds or milliseconds if you want to...
Regards,
DG
Regards,
DG