如何更改颜色y轴值 [英] how to change color y axis values

查看:79
本文介绍了如何更改颜色y轴值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



i使用achartengine创建一个图表,并希望y轴值也是黑色如何更改

Dear all,

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

推荐答案

你应该能够通过多重渲染器完成这个,你应该有这样的一行...



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

XYMultipleSeriesRenderer mRenderer = new XYMultipleSeriesRenderer();





然后你可以使用mRenderer.setylabelscolor和.setxlabelcolor但是一旦你输入.set你的开发环境应该显示所有的set命令。



如果不是文档很好XYMultipleSeriesRenderer [ ^ ]



您可能还想要看一看 在 achartengine的Android教程 [ ^ ]



/ Darren



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


这篇关于如何更改颜色y轴值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆