antvis / antvis/G2

[Bug]: transform里配置旋转策略和直接配置labelAutoRotate 效果不一致

Open
#7,058 1 comment 0 reactions 0 assignees View on GitHub
question 💬
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

直接配置 transform 效果不太对

Image

Image

直接设置 labelAutoRotate 感觉对一点

### Reproduction link / 复现链接

_No response_

### Steps to Reproduce the Bug or Issue / 重现步骤

_No response_

### Version / 版本

Please select / 请选择

### OS / 操作系统

- [ ] macOS
- [ ] Windows
- [ ] Linux
- [ ] Others / 其他

### Browser / 浏览器

- [ ] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他

Contributor guide

Open the contributing guide

Research direction

No reproduction link, steps, version, or source files are provided. Start by creating a minimal chart that compares rotation configured through transform with direct labelAutoRotate, then inspect the relevant label-rotation path. Done means both configurations produce consistent rotation behavior.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.