5.x g2 折线图颜色的默认值数组 #6633
-
|
想在默认颜色数组的基础上修改一些,有大佬可以告知一下默认颜色的数组嘛? |
Beta Was this translation helpful? Give feedback.
Answered by
xianSheng-yo
Mar 18, 2025
Replies: 2 comments 5 replies
-
|
domain长度小于等于10默认颜色 [
'#1783FF',
'#00C9C9',
'#F0884D',
'#D580FF',
'#7863FF',
'#60C42D',
'#BD8F24',
'#FF80CA',
'#2491B3',
'#17C76F',
]否者默认颜色 [
'#1783FF',
'#00C9C9',
'#F0884D',
'#D580FF',
'#7863FF',
'#60C42D',
'#BD8F24',
'#FF80CA',
'#2491B3',
'#17C76F',
'#AABA01',
'#BC7CFC',
'#237CBC',
'#2DE379',
'#CE8032',
'#FF7AF4',
'#545FD3',
'#AFE410',
'#D8C608',
'#FFA1E0',
] |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ustcfury
-
.encode('color', ['#BD8F24', '#FFA1E0']) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

domain长度小于等于10默认颜色
否者默认颜色