如何将顶级节点用作amcharts中的图例?

时间:2019-05-14 05:09:17

标签: javascript amcharts amcharts4

我正在使用弹药的“强制定向树”。根据文档:

Legend's behavior follows logic similar to color assignment. It contains items for the first level that has more than one node.

So, for example, if we have one top-level node and three its children, those three will comprise the legend.

If we have several nodes on top level, then those will be used as legend items instead.

https://www.amcharts.com/docs/v4/chart-types/force-directed/#Legend

我希望所有顶级节点都作为图例,而不管其具有多少个子节点。我在文档中找不到任何选择。

0 个答案:

没有答案