antvis / antvis/F2

4.x 版本折线图Area绘制错误

Open
#1,956 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

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

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/f2-react-forked-jxlk7t)

### Steps to reproduce
4.x版本的F2在react中使用时,若数据相同,最后一个区域绘制出现错误
![image](https://github.com/antvis/F2/assets/32634443/eb8defb9-8f62-4671-84b6-2943166711c4)

| Environment | Info |
|---|---|
| f2 | 4.0.51 |
| System | - |
| Browser | - |

Contributor guide

Open the contributing guide

Research direction

Start by opening the linked CodeSandbox reproduction and checking the F2 React setup at version 4.0.51 with identical data. Trace the area rendering path from the reproduction and compare the final region with the preceding regions. Done means the last area renders correctly in the reproduced case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
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.