antvis / antvis/F2

wx-f2里重新异步渲染chart会出现pixelRatio每次不一样的问题

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

Description

下图是控制台的打印
![console 控制台](https://p.qlogo.cn/qqmail_head/oA62fHtPSY5lf4eYY0IVRhC3q7mC3MJXNJuKfeiciaPk037xIiafjmMXWLl6K9Eoiclk/0)

第一次渲染的效果
![第一次渲染](https://p.qlogo.cn/qqmail_head/oA62fHtPSY5lf4eYY0IVRhC3q7mC3MJXNJuKfeiciaPk0bRTc2jKSibbpTftgYdNHcB/0)

第二次渲染的效果就成这样了
![重新渲染](https://p.qlogo.cn/qqmail_head/oA62fHtPSY5lf4eYY0IVRhC3q7mC3MJXc6Ns9AJMibEBTia5VYph7TVzSiaiaQtY9icMic/0)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the asynchronous chart rerender in wx-f2 and compare the console output and the first and second render screenshots. Trace where pixelRatio is read or applied during those renders; done means repeated asynchronous renders keep a consistent pixelRatio and produce matching chart output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, mobile
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.