[Feature] echarts 树图数据量很大的情况下,超过1000条,怎么设置兄弟节点的间距呢

pbwdgjma  于 2023-02-04  发布在  Echarts
关注(0)|答案(2)|浏览(702)

What problem does this feature solve?

为了让echarts在庞大数据下面可以进行展示

What does the proposed API look like?

nodewidth:100

gpfsuwkq

gpfsuwkq1#

@xiaohongzhou It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED

TITLE

[Feature] In the case of a large amount of data in the echarts tree graph, more than 1000, how to set the spacing between sibling nodes?

BODY

What problem does this feature solve?

In order to allow echarts to be displayed under the huge data

What does the proposed API look like?

nodewidth:100

qfe3c7zg

qfe3c7zg2#

默认是均分画布高度的,可以使用 roam: true, zoom: 2 开启缩放并设置缩放比,从而对数据很多的情况下增加画布距离。比如这里 zoom 可以根据数据量进行计算调整

相关问题