antvis / antvis/G2Plot

🐛 [BUG] 条形图在配置函数格式color时,滚动条显示异常?

Open
#3,618 1 comment 0 reactions 0 assignees View on GitHub
Bug
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Bug description [Please make everyone to understand it]

> Please provide a link by forking these links [G2Plot](https://codesandbox.io/s/g2plot-issue-template-gzfdq?file=/index.ts) or GitHub repo, a minimal reproduction.

* _Required_ **Link to minimal reproduction**:

### 📷 Step to reproduce

复现demo: https://stackblitz.com/edit/vitejs-vite-lhusf8?file=src%2FApp.tsx

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Run the linked StackBlitz reproduction and start with src/App.tsx, where the bar chart example is configured. Confirm the abnormal scrollbar behavior when color is set through the configuration function, then define the expected scrollbar result before investigating the relevant chart behavior. Done means the reproduction behaves normally with that color configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.