antvis / antvis/G2

legend position: 'top' 或者 bottom时 flexDirection: 'column' 无效

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

Description

### 问题描述

legend position: 'top' 或者 bottom时 flexDirection: 'column' 无效

### 重现链接

_No response_

### 重现步骤

legend position: 'top' 或者 bottom时 flexDirection: 'column' 无效

### 预期行为

legend position: 'top' 或者 bottom时 flexDirection: 'column' 有效

### 平台

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

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

![image](https://github.com/user-attachments/assets/a898f937-db8d-4578-a916-8f1b24e7f5db)
![image](https://github.com/user-attachments/assets/98af76a7-1726-402d-ba0a-8412565b2390)

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Reproduce the legend with position set to top or bottom and flexDirection set to column, then trace the legend layout implementation; done means the column direction is respected in both positions.

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.