I'm a newbie to JFreeChart. First of all, I think the SimpleDemo on the sourceforge page should be updated, many of the clases it uses are renamed now (took me some time to figure out

I want to plot temperature vs time. The x-axis should be ranging from 00 to 24 (hours) and there should be no extra space outside this range. How do I achieve this? I would also like to set the range on the y-axis manually, is it possible? I've looked through the API's, but I cannot find any methods for it.
To construct the plot, I use createTimeSeriesChart(...) and to create a dataset I make a BasicTimeSeries containing values for each minute between 00:00 and 24:00, and finally I put the BasicTimeSeries in a TimeSeriesCollection.
Thanks for a good plotting lib.
Regards
Fredrik