antvis / antvis/G2Plot

🐛 [BUG] 仪表盘(渐变色) 颜色过度问题

Open
#3,607 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

当数值较小时,发现颜色从左往右过度的,应该从下往上过度才对。

![image](https://github.com/antvis/G2Plot/assets/10857932/9f7284b2-ec4f-43cd-8517-8ddb6d1e6396)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the dashboard gradient issue with a small value and inspect the dashboard chart implementation to find where the gradient direction is set. Compare the rendered direction with the attached image; done means the gradient runs from bottom to top for small values rather than from left to right.

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.