I am new in the wonderful world of JFreeChart and wish to as more experienced users if the following is possible (and obviously how

I have time lines showing for a given "task" when it has been planned, when is it's due date and when it has been realized, ...
I successfully did it based on XYBarCharDemo7 example.
This was pretty easy to adapt to display the "planned interval" and "realization interval". result
To represent the due date I used the "range crosshair" of my xyPlot as follow :
Code: Select all
XYPlot xyPlot = (XYPlot)myChart.getPlot();
xyPlot.setRangeAxis(dateAxis);
xyPlot.setRangeCrosshairVisible(true);
xyPlot.setRangeCrosshairLockedOnData(false);
Minute dueDate = new Minute(task.getDueDate());
xyPlot.setRangeCrosshairValue(dueDate.getLastMillisecond());
I saw a org.jfree.chart.plot.Crosshair object in the javadoc that offers some label related method but I don't know where to get the instance of my crosshair.
I expected something like "myXyPlot.getRangeCrosshair()" but I can't find anything that looks like this.
Some other info you may need to help me :
I create the charts in a web server in order to display them in web pages (Tapestry 5 application).
I use a
NumberAxis as domain
DateAxis as range
XYPlot as plot
XYBarRenderer as renderer
XYIntervalSeriesCollection as dataset
XYIntervalSeries as series (totaly 3 series)
As I am new, there may be a better way to handle all this so I am, of course, open to any suggestion.

Thanks a lot for any input.
