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

CenterText/Description Text overruns onto PieChart #2577

Closed
mingsai opened this issue Jul 4, 2017 · 1 comment
Closed

CenterText/Description Text overruns onto PieChart #2577

mingsai opened this issue Jul 4, 2017 · 1 comment

Comments

@mingsai
Copy link

mingsai commented Jul 4, 2017

I'm using the latest API with Swift. When modifying the Description and the CenterText of a PieChart, I am seeing displacement issues where the text overruns the Chart area. Rather than create a workaround I wondered if I might be missing something obvious, which would correct the issue?

piechart

If not then perhaps some new API properties to better manage the organization, sizing, and alignment of CenterText and Description may be required.

@liuxuan30
Copy link
Member

liuxuan30 commented Jul 7, 2017

on my side in ChartsDemo, it's clipped:
image

but you can also use the boundring rect to find the best font I think

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