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

Pie Label Positioning #1130

Merged
merged 1 commit into from
Oct 3, 2018
Merged

Conversation

sikolio
Copy link

@sikolio sikolio commented Oct 1, 2018

Added the option for "startAngle" and "endAngle" for the label to be
positioned.

The default is "centroid" which does not altere the original behavior.

As posted on the issue #1117 it would be nice to position the label
inside the actual slice but as per one rule of no-magic-numbers I can't
multiply by 0.9 to do this equally for all labels. This could be left
for later.

Closes #1117

Added the option for "startAngle" and "endAngle" for the label to be
positioned.

The default is "centroid" which does not altere the original behavior.

As posted on the issue FormidableLabs#1117 it would be nice to position the label
inside the actual slice but as per one rule of no-magic-numbers I can't
multiply by 0.9 to do this equally for all labels. This could be left
for later.

Closes FormidableLabs#1117
@boygirl boygirl merged commit 6029d1c into FormidableLabs:master Oct 3, 2018
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

Successfully merging this pull request may close these issues.

3 participants