Hello,
I want to change the color of my VerticalNumberAxis (fontcolor of the values, and lines of axis).
Could you send me a source code example ?
You can see a chart example here :
http://serveurwind.cci-brest.fr
Thanks,
Guillaume CARRIERE
Specify the color of VerticalNumberAxis
Re: Specify the color of VerticalNumberAxis
Salut Guillaume,
I have not looked at it yet, but in version 0.9.5, in com.jrefinery.chart.axis, there are two new classes that my interest You : HorizontalColorBarAxis and VerticalColorBarAxis.
Regards,
Arnaud
I have not looked at it yet, but in version 0.9.5, in com.jrefinery.chart.axis, there are two new classes that my interest You : HorizontalColorBarAxis and VerticalColorBarAxis.
Regards,
Arnaud
Re: Specify the color of VerticalNumberAxis
Hello,
I'v found the solution ....
axisDir.setTickMarkPaint(Color.BLUE);
axisDir.setLabelPaint(Color.BLUE);
axisDir.setTickLabelPaint(Color.BLUE);
and
axisVit.setTickMarkPaint(Color.RED);
axisVit.setLabelPaint(Color.RED);
axisVit.setTickLabelPaint(Color.RED);
I'v found the solution ....
axisDir.setTickMarkPaint(Color.BLUE);
axisDir.setLabelPaint(Color.BLUE);
axisDir.setTickLabelPaint(Color.BLUE);
and
axisVit.setTickMarkPaint(Color.RED);
axisVit.setLabelPaint(Color.RED);
axisVit.setTickLabelPaint(Color.RED);