zdd2018 commented on issue #6365: Echart 桑基图内是否可以定义一个node显示的层级? URL: https://github.com/apache/incubator-echarts/issues/6365#issuecomment-510383792 > @ALL,我已经完成了这个将在4.3.0中发布的功能。 > > ## 指定每个节点的深度 > 您可以使用`depth`以下方式指定每个节点: > > ```js > 节点: [{ ' name ': ' A ',' depth ': 0 },...... ] > ``` > > 这里的`depth`工作方式相同`layer`的[热平衡图发电机](https://sankey.csaladen.es/) @CapDuan。 > > ## 指定节点的对齐方式 > 此外,如果您不喜欢所有叶节点都在最后一个深度,我们`nodeAlign`在Sankey.series中提供如下属性: > > ```js > series : [{ > // 可以'对齐'或'对',默认值是'对齐'。 > nodeAlign : ' left ' > }] > ``` > > 这决定了节点的对齐方式。 什么时候发布啊,4.2里面的depth好像没任何作用
---------------------------------------------------------------- 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]
