antvis / antvis/G2

Ant Design Charts 2.0版本 仪表盘 无法 设置仪表盘的辅助圆弧宽度

Open
#6,045 3 comments 0 reactions 0 assignees View on GitHub
v5
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

使用 Ant Design Charts 2.0版本中的仪表盘组件 无法实现 有弧度的仪表盘

### 重现链接

https://codesandbox.io/p/sandbox/focused-chatterjee-tg2x66

### 重现步骤

1、 进入页面即可查看效果 设置style 中的arcRadius 无法实现

### 预期行为

可以实现出 1.4x 版本 中圆弧形的仪表盘效果

### 平台

- 操作系统: macOS
- 网页浏览器: Google Chrome

### 屏幕截图或视频(可选)

预期效果
![image](https://github.com/antvis/G2/assets/31983804/3f318371-45fb-48eb-af7e-5337f95af408)
目前效果 :
![image](https://github.com/antvis/G2/assets/31983804/df8bae56-2321-4fa8-a06b-d0932aea3c1d)

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Open the linked CodeSandbox reproduction and inspect how the Ant Design Charts 2.0 dashboard handles style.arcRadius. Compare its output with the attached 1.4.x reference, focusing on the auxiliary arc width. Done means the reproduction can produce the expected curved gauge appearance.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.