Gantt chart with custom Date range..

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
Posts: 4
Joined: Tue Jun 12, 2007 10:23 pm

Gantt chart with custom Date range..

Post by salase » Wed Jul 18, 2007 10:15 pm

I have a requirement to Produce Gantt Charts in the following format.

Code: Select all

                          P1 2007           P2 2007
                        W1 W2 W3 W4 | W1 W2 W3 w4
Task1                      ----
Task2                                        ----

Where P1 is the Month definition and W1 to W4 are the corresponding weeks in the period.Our client has their own definition of the Period for example a period can be starting from calendar date Dec 25 2006 to Jan 25 of 2007 and this would their Period1 or the first month of their Year.

Now is there any way to display custom Periods and Plot against weeks using Jfree chart?

Just wanted to know if its feasible or not before digging into it..
Any thoughts are highly appreciated.


JFreeChart Project Leader
Posts: 11732
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.

Post by david.gilbert » Fri Jul 20, 2007 10:21 am

This would be difficult with JFreeChart, given that the Gantt chart support is already pretty basic. Not impossible (you could create a custom DateAxis that handles the periods), but definitely difficult.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide

Posts: 3
Joined: Tue Apr 07, 2009 9:18 pm

Re: Gantt chart with custom Date range..

Post by anbillava » Wed Apr 15, 2009 8:51 pm

Hello .. I am also creating the same kind of chart. If you have got some solution please share it with me.
Thanks. My email id is

Post Reply