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/11/28 08:22:28 UTC

[GitHub] Clarkclk edited a comment on issue #9488: How echarts change node property inside? (echarts内部是怎么改变顶点属性的?)

Clarkclk edited a comment on issue #9488: How echarts change node property inside? (echarts内部是怎么改变顶点属性的?)
URL: https://github.com/apache/incubator-echarts/issues/9488#issuecomment-442358774
 
 
   OK, now I set all node fixed after initial setOption method, but if I drag a node then this node becomes unfixed again (though other nodes remain fixed). So my question changes to how echarts make a node fixed property changed. If it has to use a method like setoption to render the whole graph? Or is there an inner interface to change a node property like fixed and axis easily?  I think rendering the whole graph is time-consuming. So what is the inner method to change a node property?
   中文:我在初始setOption之后会将所有节点设置为fixed,但如果我去拖动一个顶点,该顶点会重新变成unfixed(其他顶点保持fixed)。我的问题是,echarts内部是怎么改变一个顶点的属性的?如果也是类似于setOption一样的方法去重新渲染整个图太浪费时间了,或者有一个内部接口可以很方便的更改顶点属性值,比如fixed属性和坐标?

----------------------------------------------------------------
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