I want to change the color of the background of my chart to black but by doing this the text of the chart labels is no longer visible. Is there any way that I can change the color of the text on the labels and titles of the chart?
Thanks in advance,
Billy
Is there anyway to change the color of the text on axis labe
Re: Is there anyway to change the color of the text on axis
All axis classes inherit the setLabelPaint(...) and setTickLabelPaint(...) methods from the Axis class.
The TextTitle class (used for the main chart title in JFreeChart 0.9.5) has a setPaint(...) method that controls the color of the text.
Regards,
Dave Gilbert
The TextTitle class (used for the main chart title in JFreeChart 0.9.5) has a setPaint(...) method that controls the color of the text.
Regards,
Dave Gilbert