How to set different values for Legend and Labels in piechart While I am using Chart Engine in android

后端 未结 2 1315
梦毁少年i
梦毁少年i 2021-01-20 17:13

Hi I am using A chart Engine to display pie chart in android.In my code I want to show values on labels and area corresponding to that vale on legend.But I am unable to get

2条回答
  •  我在风中等你
    2021-01-20 17:27

    I was also having the same problem but now its solved. Thanks dan...

    You can use

    renderer.setDisplayValues(true);
    

    This displays the %of distribution in the pie chart itself.

提交回复
热议问题