Tick marks to horizontal axis

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

Tick marks to horizontal axis

Post by Heikki Hiltunen » Fri Nov 16, 2001 3:11 pm

I'm having trouble getting tick marks to horizontal axis of a bar chart. I tried calling setShowTickMarks(true), but nothing happened. I also tried setting the tick mark stroke, but it didn't help either.

David Gilbert

RE: Tick marks to horizontal axis

Post by David Gilbert » Fri Nov 16, 2001 8:37 pm

Hi Heikki,

I never got around to writing the code to draw ticks on category axes. The setShowTickMarks(true) is the right method to call, but since there is no code in the draw(...) method to back it up, you won't see anything happen.

I'll add it to the list of things to do...if someone has already written something that works, please post it here...

Regards,

DG.

Locked