antvis / antvis/G2

关于缩略轴,拖拽两个缩略轴,发生两个文字重叠

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

Description

### 问题描述

添加 .slider('x', true)
![image](https://github.com/antvis/G2/assets/35422348/d009b49b-b69e-4f01-94c9-04c62706737e)
缩略轴上的文字重影

### 重现链接

_No response_

### 重现步骤

_No response_

### 预期行为

期望可以解决这种缩略轴文字重合问题,
当缩略轴比较近,算好之间的距离进行对缩略轴的另一个文字的隐藏。

### 平台

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

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

_No response_

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with .slider('x', true) and inspect the thumbnail-axis labels when the two axes are close together. Done means overlapping label text is avoided, such as by hiding one label when the available distance is insufficient.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.