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

Change lables position/ change piece width for small piece #118

Open
zemeng2015 opened this issue Jan 16, 2020 · 0 comments
Open

Change lables position/ change piece width for small piece #118

zemeng2015 opened this issue Jan 16, 2020 · 0 comments

Comments

@zemeng2015
Copy link

Hi, emn178, I'm using your plugin and it works well. Just for small pieces like percentage smaller than 5%, the label is too close to each other
Annotation 2020-01-16 151014
I can also hide the rendor by using:
render: args => (args.percentage > 3 ? args.percentage + '%' : ''),
but that's not requirement.
How could I change the piece size for the smaller one or label position base on percentage smaller than 3? Thanks.

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

1 participant