-
Notifications
You must be signed in to change notification settings - Fork 19.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关系图之力导向图配置项中categories配置symbol无效 #5969
Labels
Comments
是的,我也遇到了同样的问题 |
嘻嘻 我也是哟 |
这个是在2.0版本可以实现的,在3.0版本就不会实现了,是摒除了么? |
这么巧,我也是 |
我也遇到了同样的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
关系图之力导向图中,想实现目标节点的symbol有两种不同的样式,故配置了categories选项,分别指定了各自类目对应的symbol样式,包含‘rect’,‘roundRect’,在data中对每个数据项指定了category,但渲染后的结果是所有的目标节点的symbol都是‘circle’,没能实现理想的需求。
实例请戳
截图如下:
我知道可以通过给每个data数据项指定symbol样式来解决,但我想知道为什么通过categories来指定就不行呢,实际测试了给categories配置itemStyle选项是可以生效的,symbol就不行。
The text was updated successfully, but these errors were encountered: