antvis / antvis/G2Plot

🐛 [BUG] g2plot 2.x 雷达图,连续型数据时,lineStyle 设置有问题

Open
#2,629 4 comments 0 reactions 0 assignees View on GitHub
Bug hard
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

g2plot 2.x 雷达图,连续型数据时,lineStyle 设置有问题,筛选 colorField === 100 的时候, 200, 300 的都点亮了
![image](https://user-images.githubusercontent.com/26690191/121650786-8517ca00-cacc-11eb-8fa5-29f4d4ee54a2.png)

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

复现地址:https://codesandbox.io/s/gracious-solomon-rgjts?file=/index.ts

### 💻 Link to minimal reproduction

Please provide a link by forking these links [g2plot](https://codesandbox.io/s/g2plot-reproduction-template-gyej1) or GitHub repo. What is a minimal reproduction, and why is it required?

### 📷 Step to reproduce

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

* **G2Plot Version**: 2.3.23
* **Platform**: g2plot

Contributor guide

Open the contributing guide

Research direction

Start by running the linked CodeSandbox reproduction at /index.ts with G2Plot 2.3.23 and inspect the radar chart's continuous colorField and lineStyle behavior. Compare the current highlighting for colorField === 100 with the expected result: values 200 and 300 should not also be highlighted.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
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.