antvis / antvis/G2Plot

轴标签的自动省略回调函数没有进行处理🐛 [BUG]

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

Description

### 🐛 Bug description [Please make everyone to understand it]
**

轴标签的自动省略回调函数没有进行处理

**
> Please provide a link by forking these links [G2Plot](https://codesandbox.io/s/g2plot-issue-template-gzfdq?file=/index.ts) or GitHub repo, a minimal reproduction.

* _Required_ **Link to minimal reproduction**:

### 📷 Step to reproduce
1.设置回调函数自动省略不生效
![image](https://user-images.githubusercontent.com/109719618/188344896-d5415033-ff76-45d2-9d6b-907b92b39333.png)
2.yuan源码中未发现对轴标签的自动省略功能进行处理
![image](https://user-images.githubusercontent.com/109719618/188345002-850b1e56-700a-404e-8979-f994df6269a6.png)

### 🏞 Expected result
对轴标签的自动省略回调函数进行支持,方便进行自定义

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:2.4.20
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the G2Plot 2.4.20 axis-label configuration and the source path shown in the screenshots. The issue provides no minimal reproduction link, file name, or test location, so first reproduce the callback failure from the reported setup. Done means the automatic axis-label ellipsis callback is supported and its behavior is 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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.