Turn on vertical grid lines between tick units?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Erich Kilmer

Turn on vertical grid lines between tick units?

Post by Erich Kilmer » Fri Feb 14, 2003 6:02 pm

I am creating time series charts with ranges of less than 30 days.
JFreeCharts auto tick selection does a nice job of selecting the right tick unit so that the tick labels fit at the bottom and do not overlap.
When I display 30 days of data (notice 1 point per day) it selects a tick unit of 7 days. This looks fine.
Is there any way to turn on the vertical grid between the tick units?
I would like to have vertical lines for each date (not labels) between the tick units.
Thanks!

David Gilbert

Re: Turn on vertical grid lines between tick units?

Post by David Gilbert » Fri Feb 14, 2003 6:12 pm

Right now the grid lines are only drawn at the same points as the tick marks/labels. Eventually, I'd like the axes to support major/minor tick marks, and the same for the grid...but that is some way down my list of priorities. Someone else may implement it before I get to it, though.

Regards,

Dave Gilbert

Erich Kilmer

Re: Turn on vertical grid lines between tick units?

Post by Erich Kilmer » Fri Feb 14, 2003 7:46 pm

OK. I appreciate the response.
Erich

Locked