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 Chart allow to control inner label position #1122

Closed
ehartford opened this issue Jan 6, 2015 · 3 comments
Closed

Pie Chart allow to control inner label position #1122

ehartford opened this issue Jan 6, 2015 · 3 comments

Comments

@ehartford
Copy link

When Pie Chart's itemstyle.label.position is "inner", then it should use the "distance" option to decide the radius of the labels. (currently the "distance" option only applies to chord charts.)

This should be a percentage, 0% means the center of the circle, and 100% means the edge of the circle.

It's currently hard coded to 50% the radius of the pie, which is too close to the center. I need to place my labels at around 80-85%.

@ehartford
Copy link
Author

image

@kener
Copy link
Contributor

kener commented Jan 7, 2015

That would be a good idea. But I'm sorry for ECharts' pie chart can not support this right now.
We will make it in the future.

Thanks.

@albertshaw
Copy link
Contributor

This function is really what i need, pls take a look at PR-1138, hope it's ok for you

kener added a commit that referenced this issue Jan 9, 2015
Pie Chart allow to control inner label position #1122
@kener kener closed this as completed Jan 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants