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

饼图圆环大小设置 #661

Closed
1 task
giantss opened this issue Sep 12, 2019 · 2 comments
Closed
1 task

饼图圆环大小设置 #661

giantss opened this issue Sep 12, 2019 · 2 comments

Comments

@giantss
Copy link

giantss commented Sep 12, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

自定义设置饼图大小。

 chart.coord('polar', {
      transposed: true,
      innerRadius: 0.7,
      radius: 1 //最大只能设置到1 圆环直径大小太小了,手机屏幕宽度到1/5都不到
    });

image

What does the proposed API look like?

可以自定义设置饼图大小。

@simaQ
Copy link
Contributor

simaQ commented Sep 17, 2019

可以将 appendPadding https://www.yuque.com/antv/f2/api-chart#u5skik 值设为 0,如果还太小,就可以手动调整下 padding https://www.yuque.com/antv/f2/api-chart#92uqpt 值。

@giantss
Copy link
Author

giantss commented Sep 17, 2019

3q

@giantss giantss closed this as completed Sep 17, 2019
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