MPAndroidChart- How to add cells inside grids like Graph sheet?

谁说胖子不能爱 提交于 2020-01-05 07:45:11

问题


How to create a cells inside grids in MpAndroidchart library? Sample Image: https://i.stack.imgur.com/9fNd2.png


回答1:


I think your best bet is to change the background of the chart. Since the chart is transparent by default, if you manage to get hold of the background picture like in your image, you could use the drawable and change the chart's background and tinker around with it.

You could use this for your chart:
In your XML : android:background="....." or setBackgroundResource(.....) in your java.



来源:https://stackoverflow.com/questions/48401946/mpandroidchart-how-to-add-cells-inside-grids-like-graph-sheet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!