antvis / antvis/F2

antv f2 5.x版本 tooltip展示时箭头错位

Open
#1,940 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

- [ ] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[https://f2.antv.antgroup.com/zh/examples/line/other/#connect-null](https://f2.antv.antgroup.com/zh/examples/line/other/#connect-null)

### Steps to reproduce
官网的图表示例中存在tooltip的折线图边缘的数据tooltip箭头出现错位的情况,codesandbox和本地运行情况相同
![image](https://github.com/antvis/F2/assets/32634443/6a93244e-1a68-48d8-9044-58b0fb3e3642)

| Environment | Info |
|---|---|
| f2 | 5.4.2 |
| System | - |
| Browser | - |

Contributor guide

Open the contributing guide

Research direction

Start with the reproduction link for the F2 5.4.2 line-chart example and inspect the tooltip behavior at the chart edges. Reproduce the misplaced arrow, then verify that the tooltip arrow aligns with the displayed data point in the affected cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.