apache / apache/echarts

[Bug] bar的bug

Open
#20,695 4 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

### Link to Minimal Reproduction

option = { xAxis: { type: 'value', name: 'x轴' }, yAxis: { type: 'value', name: 'y轴' }, dataZoom: [ { show: true }, { type: 'inside' }, { type: 'slider', showDataShadow: false }, { show: true, yAxisIndex: 0, filterMode: 'empty', type: 'slider', showDataShadow: false } ], tooltip: { triggerOn: 'none', alwaysShowContent: true, position: [50, 50], showContent: true }, series: [ { data: [ [10, 100], [20, 200], [30, 150], [40, 80], [50, 70], [60, 110], [70, 130] ], select: { itemStyle: { color: '#4EAF55' } }, selectedMode: 'multiple', type: 'bar' } ] };

### Steps to Reproduce

option = {
xAxis: {
type: 'value',
name: 'x轴'
},
yAxis: {
type: 'value',
name: 'y轴'
},
dataZoom: [
{
show: true
},
{
type: 'inside'
},
{
type: 'slider',
showDataShadow: false
},
{
show: true,
yAxisIndex: 0,
filterMode: 'empty',
type: 'slider',
showDataShadow: false
}
],
tooltip: {
triggerOn: 'none',
alwaysShowContent: true,
position: [50, 50],
showContent: true
},

series: [
{
data: [
[10, 100],
[20, 200],
[30, 150],
[40, 80],
[50, 70],
[60, 110],
[70, 130]
],
select: {
itemStyle: {
color: '#4EAF55'
}
},
selectedMode: 'multiple',
type: 'bar'
}
]
};

### Current Behavior

![Image](https://github.com/user-attachments/assets/973c0ada-23b3-46d8-a903-862dc46f99a5)

### 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.