You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/10/09 03:50:19 UTC

[GitHub] overrei opened a new issue #9177: 通过dispatchAction方法触发关系图的缩放无效

overrei opened a new issue #9177: 通过dispatchAction方法触发关系图的缩放无效
URL: https://github.com/apache/incubator-echarts/issues/9177
 
 
   ### One-line summary [问题简述]
   我试图用dispatchAction触发关系图的缩放方法,但是并没有生效。
   我在源码里面找到的事件类型类型graphRoam,通过这个可以监听到缩放事件。但是无法通过这个类型触发缩放
   
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:4.2.0-rc.1
   + Browser version [浏览器类型和版本]:chrome69
   + OS Version [操作系统类型和版本]:win7
   
   
   
   
   
   ### Expected behaviour [期望结果]
   
   
   
   
   
   ### ECharts option [ECharts配置项]
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
    myChart.dispatchAction({
               originX: 682,
               originY: 425,
               type: 'graphRoam',
               zoom:1.1, 
               // seriesId: id
               seriesIndex: 0 
     });
   
   ```
   
   
   
    
   
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org