Tick Marks on the CategoryAxis

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Tom
Posts: 32
Joined: Mon Dec 11, 2006 2:50 pm

Tick Marks on the CategoryAxis

Post by Tom » Mon Jun 25, 2007 9:48 am

Hi Guys,

I have many categories on a CategoryAxis and i want them to have tickmarks. The CategoryAxis brings some methods to switch them on and customize their length, but none of them work. Do these mehtods not work in general for the CategoryAxis, or am I forgetting something?

TIA

Tom

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Jun 25, 2007 4:06 pm

I never got around to implementing the tick marks. It needs a flag to allow the marks to be placed at the centre of each category OR between categories. And it needs to be coordinated with the grid line painting. Have a look through the patch manager at SourceForge, as there are a few somewhat old but probably still useful patches in there, for example:

http://sourceforge.net/tracker/index.ph ... tid=315494
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked