antvis / antvis/G2

雷达图,维度和颜色 拖入同一个字段,tooltip 内展示的颜色不正确

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

Description

### 问题描述

1.雷达图,当维度和颜色 拖入同一个字段,tooltip 内展示的颜色不正确
![image](https://github.com/antvis/G2/assets/21262689/f7af71fe-088c-4e24-9890-fe5220f4704f)

2.tooltip的内容展示是否有顺序,如果有,是按照什么顺序排列的,会随着维度字段的升序/降序进行排序吗

### 重现链接

_No response_

### 重现步骤

_No response_

### 预期行为

期望能和当前的数据点上的颜色保持一致

image

### 平台

- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]

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

_No response_

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing a radar chart where the same field is used for both dimension and color, then inspect the tooltip's color mapping and item ordering. Confirm the expected behavior from the attached screenshots; done means the tooltip color matches the displayed data point and the ordering behavior is established or covered by a regression test.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.