antvis / antvis/G2Plot

🐛 [BUG] color 使用函数调用时,slider 显示 bug

Open
#3,750 0 comments 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

color 使用函数调用时,slider 多余的部分未隐藏:

![image](https://github.com/antvis/G2Plot/assets/10857932/ce327d58-1fb3-4a20-8ebc-91c562460911)

去除 color 时正常:

![image](https://github.com/antvis/G2Plot/assets/10857932/ddb0135a-e83c-4321-a50a-3e8af2e46414)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the slider case shown in the issue with color configured as a function, then compare it with the case where color is omitted. Trace the chart's slider rendering and configuration entry point; done means the slider hides its unused portion in the function-color case as it does without color.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.