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

fix: line & area smooth not match #4387

Merged
merged 4 commits into from
Dec 1, 2022
Merged

fix: line & area smooth not match #4387

merged 4 commits into from
Dec 1, 2022

Conversation

hustcc
Copy link
Member

@hustcc hustcc commented Dec 1, 2022

fixed #4386

image

  • 修改 line smooth 下使用的 shape 不正确
  • 增加 area.smooth,line.smooth 配置文档中的 alpha 配置

@visiky
Copy link
Member

visiky commented Dec 1, 2022

所以是平滑曲线的参数调整即可?

@hustcc
Copy link
Member Author

hustcc commented Dec 1, 2022

所以是平滑曲线的参数调整即可?

不是,之前不重叠是 bug,修复了。然后我发现这个曲度参数还可以配置的,所以额外增加了文档。

Copy link
Member

@pearmini pearmini left a comment

Choose a reason for hiding this comment

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

修复了问题加个集成测试?

@pearmini pearmini merged commit 1529032 into v5 Dec 1, 2022
@pearmini pearmini deleted the fix-area-smooth-not-match branch December 1, 2022 09:49
hustcc added a commit that referenced this pull request May 16, 2023
* fix: smooth area and line not match

* docs: add smooth alpha configure document

* test: add integration test for smooth radar

* chore: udpate screenshot
hustcc added a commit that referenced this pull request May 16, 2023
* fix: smooth area and line not match

* docs: add smooth alpha configure document

* test: add integration test for smooth radar

* chore: udpate screenshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

雷达图的 line、area 在 smooth 的时候不重叠
3 participants