apache / apache/echarts

十字坐标轴指示器横线无法吸附在折线图的点上

Open
#20,143 8 comments 0 reactions 0 assignees View on GitHub
bug pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.5.0

### Link to Minimal Reproduction

暂无

### Steps to Reproduce

1、配置tooltip,
tooltip: {
trigger: 'none',
backgroundColor: 'rgba(255,255,255,0.6)',
extraCssText: 'z-index: 2',
axisPointer: {
type: 'cross',
snap: true,
axis: 'x',
z: 999
}
},
axisPointer: {
type: 'cross'
}

2、设置useCoarsePointer
echarts.init(
refMain.value,
null,
{
useCoarsePointer: true,
pointerSize: 200
}
)

### Current Behavior

十字坐标轴指示器横线无法吸附在折线图的点上

### Expected Behavior

十字坐标轴指示器横线无法吸附在折线图的点上

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.