-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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
力学导向图无法在nodes中设置节点颜色 #902
Comments
现在官网上的版本有bug,马上修复更新 |
我也遇到这个问题了,研究了好长时间。。。。 |
现在还不行? |
在百度实例里中修改是可以了,谢谢 |
对于单个节点可以设置normal下的nodeStyle颜色了,但是emphasis下nodeStyle 和label 的color 设置都没有生效 nodeStyle里的borderColor 和borderWidth 也是无效的。 |
我试了下是有效的,nodeStyle.normal.borderColor和nodeStyle.normal.borderWidth |
我的意思是对单个节点设置itemStyle时,nodeStyle和label里的设置在normal下有效,但是emphasis下无效。现在要修改emphasis效果只能在series级别设置了,没办法对单个节点定制化设置。 |
试了一下也可以,单个节点上是 itemStyle.emphasis.borderWidth, 没有 nodeStyle 了 |
看文档中的力学导向图示例的缩略图应该是可以给node设置不同的颜色的,但是示例中却只有一个一种颜色。试着在nodes中设置不同的itemStyle,但是很明显nodeStyle里的color并没有生效,依然没办法修改node颜色,请问是不是新版本把该设置关闭了?如果要定制node的颜色应该如何设置呢?
The text was updated successfully, but these errors were encountered: