perf: 调整overview饼图柱状图的颜色
This commit is contained in:
@@ -782,7 +782,7 @@
|
||||
barMaxWidth: 15,
|
||||
itemStyle: {
|
||||
color: function(params) {
|
||||
let colorList = ["#ECCD82", "#99CEB9"];;
|
||||
let colorList = ["#FAd4ab", "#d0e8d0"];
|
||||
if(params.dataIndex % 2 == 0){
|
||||
return colorList[0]
|
||||
}else{
|
||||
@@ -816,7 +816,7 @@
|
||||
category: categoryData,
|
||||
itemStyle: {
|
||||
color: function(params) {
|
||||
let colorList = ["#ECCD82", "#99CEB9"];;
|
||||
let colorList = ["#FAd4ab", "#d0e8d0"];;
|
||||
if(params.dataIndex % 2 == 0){
|
||||
return colorList[0]
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user