Symbols in Gantt Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Divya

Symbols in Gantt Chart

Post by Divya » Tue Dec 03, 2002 12:38 am

Hello,

i want to know whether i can have symbols on the gantt bars or not.
i have time in xAxis and load id in yAxis.it's working great.

what i want to do is i want to have symbols on the bars according to the percentage of completion.is that possible in JFreechart. OR

Can I able change the color of the bar according to the percentage of completion.say like if it's 50% i want to show blue and the rest of the bar is red.(this is for a single collection and a singlt task).

Rgds,
Divya.

David Gilbert

Re: Symbols in Gantt Chart

Post by David Gilbert » Wed Dec 04, 2002 12:05 pm

Hi Divya,

You would need to write a custom renderer to do that. The renderer that is being used for Gantt charts is HorizontalIntervalBarRenderer. Start with that, and modify it as you require...

Regards,

DG

Locked