kibbon opened a new issue #12150: How to disable auto scale/transform in graph ?
URL: https://github.com/apache/incubator-echarts/issues/12150
 
 
   ### Version
   4.6.0
   
   ### Steps to reproduce
   1. 创建一个graph类型的series图,layout选项设置为none,使用数据自身的坐标信息进行渲染
   2. 添加或修改一部分数据
   
   ### What is expected?
   更改数据后,渲染的图不会自适应窗口而改变其scale和transform
   
   ### What is actually happening?
   图发生了自适应的改变,且没有办法移除此优化
   
   ---
   我尝试尝试更改该series的坐标系统:
    coordinateSystem: 'cartesian2d'
   重新刷新页面后触发了如下错误:
   GraphView.js?9704:202 Uncaught TypeError: Cannot read property 
'__focusNodeAdjacency' of undefined
       at eval (GraphView.js?9704:202)
       at Graph.graphProto.eachEdge (Graph.js?7368:291)
       at ExtendedClass.render (GraphView.js?9704:200)
       at Task.progress (Chart.js?e887:276)
       at doProgress (task.js?f47d:217)
       at Task.taskProto.perform (task.js?f47d:157)
       at eval (echarts.js?3eba:1374)
       at ExtendedClass.eval (Global.js?7e63:517)
       at Array.forEach (<anonymous>)
       at each (util.js?6d8b:298)
   文档完全没有说明更改至此坐标系需要哪些额外配置,目前我仅在xAxis和yAxis中添加了id, min, max和scale的设置
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to