changing Y axis tick labels

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

changing Y axis tick labels

Post by yaron » Wed Dec 04, 2002 3:23 pm

Hi,
first of all i found jfreechart a great tool, thank you all.
i want to change the y axis tick labels. for example, i want the y axis
to start from 0 to 10 but the tick label should be {"apple","banana","xxx"...}
is it possible ?
thanks again,
yaron

David Gilbert

Re: changing Y axis tick labels

Post by David Gilbert » Thu Dec 05, 2002 12:17 am

You could look at the VerticalSymbolicAxis, but I haven't used this code myself, so I'm not sure if it is a "drop-in" replacement for the VerticalNumberAxis class.

Regards,

DG

Locked