how to replace the legends of Piechart using achartengine API?

旧时模样 提交于 2019-12-23 17:06:35

问题


I am Using Achartengine Api for drawing pie chart. I am getting the legends displayed at the bottom of the Pie chart horizontally. but I want to display it on the right side of the Pie chart vertically. I heard that it can be done using setMargins() method . if I can use that please explain how to use that.

Thank you in advance.


回答1:


The setMargins() API call is, as the name suggests, for setting the margins around the chart. You cannot move the legend using this and you actually cannot move the legend at all with AChartEngine. You can hide it.



来源:https://stackoverflow.com/questions/12626844/how-to-replace-the-legends-of-piechart-using-achartengine-api

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