Draw image in pie chart center
Hi, i have used this library and this works great. now i want image in center of pie chart instead of text, is it possible? can anyone help me?
Image in center?I'm not sure but what i want is how to display values all with zero~,I can't see the RadarChart ,Do U know about it?
Displaying images in the center of the chart is not supported. You will have to do that yourself.
Regards, Phil
Great Lib! Maybe someday you can implemented ;) Gr8!
Did anyone ever have any luck in implementing this?
@NickDelfino I just wrote a little hack to acchive this:
I put my Piechart in a PercentFrameLayout and added a View on top of it.
As I set a hole radius of 75% for chart (chart.setHoleRadius(75f);), I gave the view on top of the chart a width and height of 65% (I know that's not clean and you should calculate the correct percentage, but for me this is enough) and centered it. Then you can do whatever you want with this view...
It's just a simple hack but doesn't take much time and for my requirements it's enough