antvis / antvis/G2Plot

🥰 [FEATURE]基础折线图希望能自定义图例顺序

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

Description

![image](https://github.com/user-attachments/assets/44f79616-e717-425a-b5d3-e3daa6418856)
多折线图目前图例顺序是按数据顺序进行排序的,如果以x轴为维度的数据存在数据缺失,那么图例会乱序并且无法调整。
![image](https://github.com/user-attachments/assets/cc5dce52-1074-4ffe-a1ec-8495fe5c3c5b)

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the multi-line chart with missing x-axis data and trace how the legend order is derived from the chart data. Done means users can configure a stable legend order and the behavior is verified for incomplete series data.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.