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
1条答案
按热度按时间mrfwxfqh1#
we are experiencing the same issue. marklines seem to work fine but markpoints render outside of the chart clipping area.