tooltip设置触发条件在3.5.0版本无效,求大佬指导
Open
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
代码如下:
chart.tooltip({
showTitle: false,
showItemMarker: false,
snap:false,
triggerOn: ['touchstart', 'touchmove'],
onChange: function onChange(ev) {
console.log(ev)
var items = ev.items;
items[0].value = items[0].value + '万元';
items[1].value = items[1].value + '万元';
}
});
Contributor guide
Research direction
Start with the provided chart.tooltip configuration and reproduce the reported behavior in F2 3.5.0, focusing on the triggerOn values touchstart and touchmove. Compare the observed tooltip events with the expected interaction and confirm whether the trigger condition works as documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100