A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
Paulers
Post
by Paulers » Fri Oct 18, 2002 4:37 am
Hi there, I was wondering if someone could point me in the right direction. Im doing a time graph on snapshots in time I was wondering what jfreechart options do I use if I want more detail out of the graph. Im graphing a whole days worth of data in 10 minute intervals but my graph only shows a general timespan at the bottom. I hope I'm makking sense

I would like to see all the snapshots at the bottom of the graph if possible.
Thanks for listening to me ramble on
-Paulers
-
Dave Gilbert
Post
by Dave Gilbert » Mon Oct 21, 2002 9:13 am
Hi Paulers,
The spacing of the ticks on the axis is independent of the data you are displaying. If you are not seeing enough ticks, you can set a tick unit manually, but then you must take responsibility for ensuring that the tick labels do not overlap. Use the setTickUnit(...) method in the DateAxis class.
Regards,
DG
-
Robert Gottofrey
Post
by Robert Gottofrey » Mon Oct 21, 2002 11:47 am
Hi,
may be, another option would be to use vertical labels:
HorizontalDateAxis timeAxis = new HorizontalDateAxis("");
timeAxis.setVerticalTickLabels(true);
Robert