Changing color of labels in JFreeChart

Albinoswordfish picture Albinoswordfish · Mar 23, 2010 · Viewed 7.1k times · Source

Anybody that has experience using JFreeChart, is there a way to change the color of my labels for my XY axes. Right now I'm using a XYPlot and I want to change the color of the labels on my axes. Is there a way to do this?

Answer

trashgod picture trashgod · Mar 24, 2010

You should be able to use setTickLabelPaint() on the desired Axis.