[Bug] MarkPoint does not auto clip to hide
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.3.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
After MarkPoint uses **y** to set the offset, moving the dataZoom beyond the area will not automatically hide
```
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
dataZoom: [{
startValue: 'Wed'
}],
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
markPoint: {
data: [{
y: '10%',
value: 230,
coord: ['Tue']
}]
}
}
]
};
```

### Current Behavior
MarkPoint is displayed outside the area
### Expected Behavior
Auto hide after MarkPoint goes out of area
Contributor guide
Assessment
This issue has not been assessed yet.