antvis / antvis/G2Plot

🤔 [QUESTION] 分组图表的图例legend排序问题

Open
#3,703 0 comments 0 reactions 0 assignees View on GitHub
Question
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Question description [Please make everyone to understand it]
![image](https://github.com/antvis/G2Plot/assets/50241817/bc89d4d1-dd66-443a-bfff-653f99cc7f86)

分组柱状图第一组数据不全,legend怎么按图片中的红字升降排序
### 💻 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?

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
^2.3.40

* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with G2Plot ^2.3.40 using a grouped bar chart where the first data group is incomplete, referring to the attached screenshot. The issue has no minimal reproduction or expected-result details, so first determine the current legend ordering and the intended ascending or descending ordering before identifying what would count as resolved.

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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.