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

feat(gauge): 仪表盘支持配置 style,支持圆角仪表盘 #2395

Merged
merged 3 commits into from
Mar 4, 2021

Conversation

visiky
Copy link
Member

@visiky visiky commented Mar 4, 2021

PR includes

  • fixed #0
  • add / modify test cases
  • documents, demos

Screenshot

Before After
image image
通过设置 gaugeStyle.lineCap: 'round', 可以配置出圆角的仪表盘

@visiky visiky requested review from hustcc, lxfu1 and pearmini March 4, 2021 02:08
isStack: true,
interval: {
color: rangeColor,
style: gaugeStyle,
Copy link
Member Author

Choose a reason for hiding this comment

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

替换为通用的 interval geometry 的 adaptor,且支持 gaugeStyle

@visiky
Copy link
Member Author

visiky commented Mar 4, 2021

gauge-range-width

等这个 PR 合并之后,我要增加一个 range.width 的配置,支持像素级别配置 range 的宽度

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.

2 participants