Differents Tick Mark Length on a single chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
azr
Posts: 13
Joined: Sun Apr 29, 2007 6:05 pm

Differents Tick Mark Length on a single chart

Post by azr » Wed May 30, 2007 12:03 pm

Hi,
I'd like to know if it is possible to draw this kind of valueAxis :
Image

I mean an Axis with various tick mark length. I haven t found the answer in the forum... :wink:
Last edited by azr on Wed May 30, 2007 3:10 pm, edited 2 times in total.

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 » Wed May 30, 2007 1:30 pm

No, the current NumberAxis class doesn't yet have support for major and minor tick marks.
David Gilbert
JFreeChart Project Leader

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

azr
Posts: 13
Joined: Sun Apr 29, 2007 6:05 pm

Post by azr » Wed May 30, 2007 1:49 pm

Ah ok, i 'll use another way :)
Thanks a lot

azr
Posts: 13
Joined: Sun Apr 29, 2007 6:05 pm

Post by azr » Wed May 30, 2007 3:09 pm

Arf, i've another question ...
Can i choose wich one of the tick labels should be displayed?
I want to do a thing like this :

Image

Tell me that it is possible :)

edit: By extending the NumberAxis class and overriding the drawTickMarksAndLabels method, it works

Locked