achartengine and hide series in legend

余生颓废 提交于 2019-12-23 10:09:13

问题


This is possible to hide series(title and line) in legend chart, lise on chart is still visible? I wnat only hide data in legend my I want to see my series on chart. I don;t want to hide all series in legend, only few.


回答1:


You can hide some of the legend items this way:

seriesRenderer.setShowLegendItem(false);



回答2:


mRenderer.setShowLegend(false);


来源:https://stackoverflow.com/questions/16001676/achartengine-and-hide-series-in-legend

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