antvis / antvis/F2

分组柱状图平移时,横坐标平移,但柱状图没有更新

Open
#1,287 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

- [x] 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/column/dodge#dodge](https://f2.antv.vision/zh/examples/column/dodge#dodge)

### Steps to reproduce
`chart.source(data)`改为:
```
chart.source(data,{
'月份':{
tickCount:3,
values:['Jan.','Feb.','Mar.']}
});
```
然后在render之前添加
```
chart.interaction("pan");
```
平移时,横坐标改变,但是柱状图没有响应的变化

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

Contributor guide

Open the contributing guide

Research direction

Start with the linked grouped-column dodge example and reproduce the issue using chart.source(data, ...) with tickCount and values, then chart.interaction("pan") before render. Compare the horizontal-axis movement with the grouped bars on F2 3.8.9; done means panning updates the bars along with the axis.

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
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.