hi,,,
HOw can i change color of Gantt chart sub task ....
by
nayan
How to change Gantt chart sub task color?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
It isn't supported, you would need to customise the renderer to do this.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Which part? in jfree library
sir,
YOu tell me that which part of code i.e. which *.java file i need to change
YOu tell me that which part of code i.e. which *.java file i need to change
GanttRenderer
try write and use xxxGanttRenderer extends GanttRenderer ...
GanttRenderer has 2 Paints, and you need more as 2 ...
/** The paint for displaying the percentage complete. */
private Paint completePaint;
/** The paint for displaying the incomplete part of a task. */
private Paint incompletePaint;
GanttRenderer has 2 Paints, and you need more as 2 ...
/** The paint for displaying the percentage complete. */
private Paint completePaint;
/** The paint for displaying the incomplete part of a task. */
private Paint incompletePaint;