antvis / antvis/G2Plot

🤔 [QUESTION]

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

Description

### 使用Funnel绘制漏斗图
## 在数据更新时,使用了changeData,来更新图表数据,并重新渲染图表
现在遇到这么一个问题,在请求服务端接口时,有时数据量很大,这次的请求还没完成,又请求的了其他搜索的条件的数据,这时Funnel漏斗会变成一个笑脸表情,随之报错,附上演示视频

https://github.com/antvis/G2Plot/assets/75670670/3e067dc1-4437-4728-ae84-d191834eccb0

Contributor guide

Open the contributing guide

Research direction

Start with the Funnel chart's changeData update path and reproduce the overlapping requests described in the issue, using the linked video as the expected failure scenario. Trace how successive server responses update and re-render the chart, then verify that rapid changes no longer produce the smiley state or reported error.

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.