antvis / antvis/F2

横屏双柱图平移

Open
#1,188 2 comments 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://f2.antv.vision/zh/examples/component/tooltip#layout](https://f2.antv.vision/zh/examples/component/tooltip#layout)

### Steps to reproduce

antv/f2 3.8.0版本 以下没有横屏,双柱图在3.5.0以上平移会有问题

![image](https://user-images.githubusercontent.com/32887648/124549273-85a04800-de61-11eb-922d-3b78ea23cbed.png)
![image](https://user-images.githubusercontent.com/32887648/124549280-8933cf00-de61-11eb-8a0a-a6c598692412.png)

| Environment | Info |
|---|---|
| f2 | 3.8.9 |
| System | window10 |
| Browser | Chrome91.0.4472.124 |

---
要在横屏图表里平移双柱图,但3.8.0以下没有chart.landscape(), 而双柱图平移在3.5.0或3.4.0版本里是没有问题的,这两个条件不能同时满足,哪位大佬遇见过这个问题或者官方出来说明一下

Contributor guide

Open the contributing guide

Research direction

Start with the reproduction link at f2.antv.vision/zh/examples/component/tooltip#layout and reproduce the dual-bar chart pan behavior using the reported F2 versions 3.5.0, 3.8.0, and 3.8.9 in Chrome on Windows 10. Compare the behavior with and without chart.landscape(); done means the landscape chart supports panning the dual-bar chart without the reported conflict.

Written by the indexing model from the issue text.

Assessment

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