Version
5.4.2
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=graph-circular-layout
Steps to Reproduce
-
Add a color array:
var color = [
"#E91E63",
"#03A9F4",
"#4CAF50",
"#9C27B0",
"#FFC107",
"#673AB7",
"#009688",
"#FF5722",
"#795548",
"#607D8B",
"#FFEB3B",
"#2196F3",
"#8BC34A",
"#CDDC39",
"#FF9800",
"#9E9E9E",
"#de7a74",
"#00BCD4",
"#3F51B5"
]
-
Set option.color to color:
-
Switch to dark mode
Current Behavior
In dark mode, the node colors does not use the custom option.color.
Expected Behavior
In both dark mode and light mode, the nodes should use the colors from option.color.
Environment
- OS: macOS Ventura
- Browser: Safari 16.5.2, Firefox 102.13.0esr, and Edge 114.0.1823.82
- Framework: React@18
Any additional comments?
No response
Version
5.4.2
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=graph-circular-layout
Steps to Reproduce
Add a color array:
Set option.color to color:
Switch to dark mode
Current Behavior
In dark mode, the node colors does not use the custom
option.color.Expected Behavior
In both dark mode and light mode, the nodes should use the colors from
option.color.Environment
Any additional comments?
No response