You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/02/21 10:02:43 UTC

[GitHub] [incubator-echarts] travis1111 edited a comment on issue #12163: 如何把坐标写到options 里面去

travis1111 edited a comment on issue #12163: 如何把坐标写到options 里面去
URL: https://github.com/apache/incubator-echarts/issues/12163#issuecomment-589579756
 
 
   @Ovilia 可能我没有说明白。初次调用的时候我不知道布局后的坐标,只能靠echarts 做布局。在源码这里:
   
   https://github.com/apache/incubator-echarts/blob/master/src/chart/graph/forceLayout.js#L116
   
   第116行,当finish是true的时候,只布局完成后的坐标,但是我想知道的是怎么在这个源代码里面把这个布局好以后的坐标传到 option 里面去,这样,我可以把坐标保存下来,下次再显示的时候我就有坐标了。
   
   谢谢
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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