taro框架中使用时,图形画出来尺寸不对,设置pixelRatio也无效
- 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://github.com/kevin82008/tas-taro-f2](https://github.com/kevin82008/tas-taro-f2)
### Steps to reproduce
1. 执行yarn安装依赖
```
yarn add @tarojs/cli global
yarn
```
2. 执行 npm run dev 编译
```
npm run dev
```
3. 在微信小程序里查看效果
| Environment | Info |
|---|---|
| f2 | 4.0.29 |
| System | android |
| Browser | 微信小程序 |
Contributor guide
Research direction
Use the linked tas-taro-f2 reproduction project and begin by running yarn, npm run dev, then viewing the result in a WeChat mini program on Android. Compare the rendered chart dimensions with the intended size and verify whether pixelRatio changes the result; done means the chart renders at the correct dimensions in this environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100