在使用条形图时,使用gesture添加的点击事件返回的data不准确
Open
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
条形图是使用柱状图将x轴与y轴进行数据对调得来的
coord({
transposed: true
})
同样的数据设置成柱状图,点击事件返回的data就是正常的,但是条形图就不行. 并且返回的数据没啥规律可言,每次刷新后返回的都不一样,头大了
Contributor guide
Research direction
Start by reproducing the issue with a bar chart created through coord({ transposed: true }) and a gesture click handler, then compare its returned data with the equivalent column chart. Done means repeated refreshes produce consistent click data that identifies the selected bar correctly.
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