Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Dear all,

i created one graph using achartengine and want y axis values also in black color how to change
Posted

1 solution

You should be able to do this via the multi renderer you should have a line like this...

Java
XYMultipleSeriesRenderer mRenderer = new XYMultipleSeriesRenderer();


You can then use mRenderer.setylabelscolor and .setxlabelcolor but once you enter the .set your development environment should show you all the set commands.

If not the docs are good XYMultipleSeriesRenderer[^]

You might also want to take a look at Android tutorial for achartengine[^]

/Darren
 
Share this answer
 
v2
Comments
mekalareddy 31-Jan-14 10:20am    
mRenderer.setxlablecolor is there but there is no .setYlablecolor
Darren_vms 2-Feb-14 17:01pm    
http://www.achartengine.org/content/javadoc/org/achartengine/renderer/XYMultipleSeriesRenderer.html#setYLabelsColor(int, int)

Are you sure ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900