Albinoswordfish Albinoswordfish - 1 year ago 53
Java Question

Changing color of labels in JFreeChart

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

and I want to change the color of the labels on my axes. Is there a way to do this?

Answer Source

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