apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.65k stars 19.61k forks source link

[Bug] 带坐标系的关系图设置了filterModle: 'none'时,zoomIn后显示数据溢出grid #17824

Open 13322211021 opened 2 years ago

13322211021 commented 2 years ago

Version

5.4.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=graph-life-expectancy&code=CQOg5gpgLgFASgeQQFQPoAUCCyASACAajwHIB6AEwEMpLTKBne6C62gGwEsAzCAWggAeABwgBjGgDtRATxAAregHsJxADR4uAVylQOyvDABOlAO4ARVgEo8AbwBQePKOX0oeJoY4R6eALx4AbQBdAG4HPGNzVhBnbV1vEC5FQwBRSlEACxgtHT0JA1iJKENpa3tHR2cJVzwqGj8I0wsaEA8vehAAW0ohbO1xPINpCEpDZsoy8IqnFzcOKAhOhuHR8cSONgXDPtz9GHnFyenpw2hNQ3yDzoCAZiC_X39C4ukw47wAX0sAgAZQqYqpyg53y5XeeDYlAARhA2AAuWwA970DKKEwIghXAIAFnuAFI8AAmH4PfwkgBk5MIWNxeAAfHgAIwATmxP1USOOQkU9HmeQRxCgiiExE5jg-HPBeEWQgyDA49ARYKlkJh8MRUumKLRCOKmggYoqH0NEsNEkonQgCJpQUl4IAbpQ2PrrQtOpyPm8jZYvY5HYYIRwJABrHz-OqULo9HYDPZXdQccgCI7HIEgjXgpTnURWvCJgR2940QyQKDWpOEJke32fH0Azghjrc3p1rUQTwJISaFEwZUVc2WhHPEqFipQaQiAVgYyytSc5zJchB6gQADK0lciwFolGC15lAkhPIc_eEYREdHjgboYR1_ol-l5Eg686UMU6oCxAkyggahIo0MNFiFtTkICfNdpFfd9Vw4AAvXMAFYHzYCBIAkcgcEUe12wAGSDYMES4J0mGQoM13HFClUNZw2GSAUAGIbiY0V3lNd4rlXCjcz7aY30Mch2wAdUTKAMgRRkH0cPiBMMABhd86JIRjmI9ZDoVhKipRoxTiGUm4T3BbleV0ZQBU8MAMigFjjjY456Egt82Bg-DxPZTkDw4boTIkMxYUoaRCP6byDHzFN3jTC48wrAAqJkfh-GtxQBL4vRS8JhWC_w-3tBVNCdABZHpNLs1F0Q0YiIAfTogwRNz3m6ARXLq44l0tap-SraZbKvVCIHQ4rpjPRoohaZ52gfJgUPEMD8sUASBV5CQwBQgyTg4Cyyzin5ktHadEwGioUK4Tbmt4xQoCFTpaofKoaCDHD1PVPVKs5IUhARAAObautHARMAEBUDsccdJxIR1nV_HaAWkf7AYzaYQdzYhwf1VaKnoHdKLwZ6oYRxR3zfRr4YqHhqHObjDQjAAtfGrtsY1WNxipqdpoHsYnJGg15AS0ccZIvCKAVsMMXRMd5jQNi2Wb5pIb8JEhn6ATabwEWV-hwk9cJOmkWS5RF1poAQIRvJgDK8jrFKgA

Steps to Reproduce

  1. set grid.top:100
  2. set series: {type:'graph', coordinateSystem: 'cartesian2d'}
  3. set dataZoom: {type: 'inside',orient: 'vertical',filterMode: 'none'}
  4. zoomIn图形

Current Behavior

zoomIn后节点超出坐标系,与上方的legend内容重合。

image

Expected Behavior

其它类型的chart的series有clip属性能够裁剪超出坐标系部分的图形, 但是graph没有这个属性。希望graph也能加上。

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

echarts-bot[bot] commented 2 years ago

@13322211021 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED
**TITLE** [Bug] When the graph with coordinate system is set to filterModle: 'none', zoomIn displays a data overflow grid
kenjinz commented 1 year ago

Is there any solutions for this issue?

chengzhanli commented 11 months ago

Is there any solutions for this issue?