razerdp / AnimatedPieView

// 一个好吃的甜甜圈?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I reduce the margin/padding around the chart

ugoamanoh opened this issue · comments

chart
How do I reduce the margins in the area around the chart which I have highlighted? It seems a bit excessive and would be nice if we had some control

I tried calling the PieManager.setChartContentRect() to change the margin values but that had no effect

Oh~ my bad...

I'm sorry I haven't written in a document.You can use pieRadius() or pieRadiusRatio()(this relative to parent's size) in AnimatedPieViewConfig

Usually,the chart use autoSize,but there is a little problem and I have fixed it.

I will update today with this issue #12 and fix autoSize().