Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Achartengine Api 绘制饼图。我在饼图底部水平显示图例。但我想将它垂直显示在饼图的右侧。我听说可以使用 setMargins() 方法来完成。如果我可以使用它,请解释如何使用它。
先感谢您。
setMargins()顾名思义,API 调用用于设置图表周围的边距。您无法使用它移动图例,实际上您根本无法使用 AChartEngine 移动图例。你可以隐藏它。
setMargins()