MPAndroidChart - Legend labels are being cut off

后端 未结 9 1357
自闭症患者
自闭症患者 2020-12-15 17:18

I am using MPAndroidChart library. Anybody has this problem? When I put the labels in BOTTOM position, these are cut.

Thank you

9条回答
  •  执念已碎
    2020-12-15 18:10

    After a long research, I found the solution. The below code solved it.

    chart.getLegend().setWordWrapEnabled(true);

提交回复
热议问题