echarts [Bug] MarkPoint does not auto clip to hide

bkkx9g8r  于 4个月前  发布在  Echarts
关注(0)|答案(1)|浏览(154)

Version

5.3.2

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

mrfwxfqh

mrfwxfqh1#

we are experiencing the same issue. marklines seem to work fine but markpoints render outside of the chart clipping area.

相关问题