antvis / antvis/F2

图表示例 里 平移缩放功能 的演示demo代码中用的是 import F2 from '@antv/f2'引入, 然而平移缩放的功能必须是用 '@antv/f2/lib/index-all' 引入的才有效

Open
#1,208 1 comment 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://antv-f2.gitee.io/zh/examples/column/basic#pan](https://antv-f2.gitee.io/zh/examples/column/basic#pan)

### Steps to reproduce
https://antv-f2.gitee.io/zh/examples/column/basic#pan

| Environment | Info |
|---|---|
| f2 | 3.8.9 |
| System | - |
| Browser | - |

![屏幕截图 2021-09-16 172032](https://user-images.githubusercontent.com/36924504/133588521-84018496-a9a9-4cb1-9a6d-6c53c8b64b20.png)

Contributor guide

Open the contributing guide

Research direction

Open the linked column chart pan example and inspect how it imports F2, comparing the `@antv/f2` and `@antv/f2/lib/index-all` entry points named in the report. Verify the example in F2 3.8.9 and confirm that its pan and zoom demonstration works with the corrected entry point.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.