Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing size of centre section - pie chart #1071

Closed
dwinnbrown opened this issue May 24, 2016 · 3 comments
Closed

Changing size of centre section - pie chart #1071

dwinnbrown opened this issue May 24, 2016 · 3 comments

Comments

@dwinnbrown
Copy link

I'm using your great library for a pie chart in my current project but have found that the text is not completely covering the 'pie' section. Is there anyway I can adjust the size of the central section of the piechart or make the text fit on to the 'pie' section?

Thanks

@danielgindi
Copy link
Collaborator

Yes, you can look into the setup code for the pie chart in the demo.
Basically there's a holeRadiusPercent property, controlling how much of the pie is used for the "hole" in the middle of the pie.

@dwinnbrown
Copy link
Author

Thanks for the reply! That’s just what I was looking for. Out of interest is there a property to adjust the diameter of the inner radius that is tinted? Now that I have reduced the hole in the middle, the white tint has increased quite a bit.

Thanks

On 26 May 2016, at 12:54, Daniel Cohen Gindi [email protected] wrote:

Yes, you can look into the setup code for the pie chart in the demo.
Basically there's a holeRadiusPercent property, controlling how much of the pie is used for the "hole" in the middle of the pie.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #1071 (comment)

@dwinnbrown
Copy link
Author

Sorry i just found the:
pieChartView.transparentCircleRadiusPercent
property!

On 26 May 2016, at 12:54, Daniel Cohen Gindi [email protected] wrote:

Yes, you can look into the setup code for the pie chart in the demo.
Basically there's a holeRadiusPercent property, controlling how much of the pie is used for the "hole" in the middle of the pie.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #1071 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants