Albinoswordfish Albinoswordfish - 2 years ago 59
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download