yufeng04 commented on issue #10291: tree type series set roam as true cause the root node disapear in sight URL: https://github.com/apache/incubator-echarts/issues/10291#issuecomment-490029514 The reason lies in the function [_updateViewCoordSys](https://github.com/apache/incubator-echarts/blob/master/src/chart/tree/TreeView.js#L153); When we click `flare`, the number of points and the running result of function [fromPoints](https://github.com/ecomfe/zrender/blob/master/src/core/bbox.js#L25) will changes. So the value of [defaultCenter](https://github.com/apache/incubator-echarts/blob/master/src/coord/View.js#L193) will also change. The the value of `viewCoordSys.position` is wrong, so the root node disappear in sight
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
