Skip to content

Docs/pie corner radius #3997

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Ling-WeiCheng
Copy link

🔍 相关 issue

fix #1971

📝 更改内容

  • 完善了饼图 cornerRadius 属性的文档说明
  • 详细说明了取值范围及效果
  • 补充了与 pie.style.cornerRadius 的区别
  • 添加了性能考虑和使用建议
  • 同步更新了中英文文档

📋 检查清单

  • 文档格式规范
  • 中英文描述完整

@github-actions github-actions bot added the docs label May 27, 2025
@@ -83,7 +83,73 @@ pie: {

#${prefix} cornerRadius(number)

饼图扇区圆角半径。默认值为 0。
饼图扇区的圆角半径配置,用于控制扇区边缘的圆滑程度。取值范围为 [0-1],默认值为 0。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的文案看起来像是大模型生成的,请按照理解用大家比较能够理解的语言,简洁的补充文档
重点说明 这里的cornerRadius 是0-1 的百分比值,根据代码逻辑说清楚计算逻辑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

【Docs】饼图的 cornerRadius 属性应该注明取值范围为 0 - 1,说明其与 pie.style.cornerRadius 上的区别
2 participants