Display Milestones in GantDemo1

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
noob
Posts: 2
Joined: Wed Mar 16, 2011 11:43 am
antibot: No, of course not.

Display Milestones in GantDemo1

Post by noob » Fri Apr 01, 2011 10:08 am

I tryed to display Milestones with no success :( . To start with I wanted to get the sample code of GantDemo1 displayed with milesontes in different colors. The code in moment displays durations like:

Code: Select all

s1.add(new Task("Write Proposal",
               new SimpleTimePeriod(date(1, Calendar.APRIL, 2001),
                                    date(5, Calendar.APRIL, 2001))));
I would appreciate any idea - Thanks.

Locked