set different color for different tick in a axis?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jiangshachina
Posts: 32
Joined: Fri May 26, 2006 12:56 pm
Location: Beijing, China

set different color for different tick in a axis?

Post by jiangshachina » Tue Aug 26, 2008 8:58 am

Hi,
However I can set color for all of ticks in an axis with method Axis.setTickLabelPaint(),
but how to set different color for each tick in the axis?

Thanks!
a cup of Java, cheers!
Sha Jiang

Locked