echarts [Bug] MarkPoint does not auto clip to hide

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

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

  1. option = {
  2. xAxis: {
  3. type: 'category',
  4. data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
  5. },
  6. yAxis: {
  7. type: 'value'
  8. },
  9. dataZoom: [{
  10. startValue: 'Wed'
  11. }],
  12. series: [
  13. {
  14. data: [150, 230, 224, 218, 135, 147, 260],
  15. type: 'line',
  16. markPoint: {
  17. data: [{
  18. y: '10%',
  19. value: 230,
  20. coord: ['Tue']
  21. }]
  22. }
  23. }
  24. ]
  25. };

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.

相关问题