|
@@ -240,7 +240,7 @@ function initChart(res) {
|
|
|
},
|
|
|
},
|
|
|
formatter: function (params) {
|
|
|
- var index = datas.map((item) => item).indexOf(params);
|
|
|
+ let index = datas.map((item) => item).indexOf(params);
|
|
|
index = index + 1;
|
|
|
if (index < 4) {
|
|
|
return [`{a${index}|${index}}{b|${params}}`].join('\n');
|
|
@@ -305,11 +305,11 @@ function initChart(res) {
|
|
|
xAxisIndex: 1,
|
|
|
yAxisIndex: 1,
|
|
|
itemStyle: {
|
|
|
- color: '#ffc001',
|
|
|
+ color: '#419491',
|
|
|
barBorderRadius: [0, 10, 10, 0],
|
|
|
// barBorderRadius: legendData[i].barBorderRadius,
|
|
|
emphasis: {
|
|
|
- color: '#ffc001',
|
|
|
+ color: '#419491',
|
|
|
},
|
|
|
},
|
|
|
// 数字
|
|
@@ -357,10 +357,10 @@ function initChart(res) {
|
|
|
barCategoryGap: 15,
|
|
|
// barGap:i==1?'-100%':'0',
|
|
|
itemStyle: {
|
|
|
- color: '#fe5959',
|
|
|
+ color: '#FFB25C',
|
|
|
barBorderRadius: [0, 20, 20, 0],
|
|
|
emphasis: {
|
|
|
- color: '#fe5959',
|
|
|
+ color: '#FFB25C',
|
|
|
},
|
|
|
},
|
|
|
// 数字
|