" +
"
" + param[0].name + "
" +
"
";
for (var i = 0; i < param.length; i++) {
resultTooltip +=
"" +
" " + param[i].seriesName + ": " +
"" + param[i].value + ""
}
resultTooltip += "
";
return resultTooltip
}
},
grid: {
left: '150',
top: '10%',
right: '150',
bottom: '10%',
},
legend: {
show: true,
icon: 'circle',
orient: 'horizontal',
top: '0.5%',
right: '8%',
itemWidth: 18.5,
itemHeight: 6,
itemGap: 30,
textStyle: {
// color: '#FFFFFF'
color: '#C9C8CD'
}
},
xAxis: [{
type: 'category',
data: xData,
axisLabel: {
show: true,
fontSize: 9,
textStyle: {
color: "#C9C8CD" //X轴文字颜色
},
formatter: function(value) {
// var str = "";
// str += value.substring(0, 4) + "\n";
// str += value.substring(5, 10);
return value;
}
},
axisLine: {
show: false //不显示x轴
},
axisTick: {
show: false //不显示刻度
},
// boundaryGap: false,
splitLine: {
show: false,
width: 0.08,
lineStyle: {
type: "solid",
color: "#03202E"
}
}
}],
yAxis: [{
type: 'value',
axisTick: {
show: false
},
axisLine: {
inside: false,
show: true,
lineStyle: {
color: color[0]
}
},
axisLabel: {
textStyle: {
color: color[0]
}
},
splitLine: {
show: false
}
},
{
type: 'value',
position: 'left',
axisTick: {
show: false
},
offset: 60,
axisLine: {
inside: false,
show: true,
lineStyle: {
color: color[1]
}
},
axisLabel: {
textStyle: {
color: color[1]
}
},
splitLine: {
show: false
}
},
{
type: 'value',
position: 'right',
axisTick: {
show: false
},
axisLabel: {
textStyle: {
color: color[2]
},
formatter: function(value) {
return value
}
},
axisLine: {
show: true,
lineStyle: {
color: color[2]
}
},
splitLine: {
show: false
}
}, {
type: 'value',
position: 'right',
axisTick: {
show: false
},
offset: 60,
axisLabel: {
textStyle: {
color: color[3]
},
formatter: function(value) {
return value
}
},
axisLine: {
show: true,
lineStyle: {
color: color[3]
}
},
splitLine: {
show: false
}
}
],
series: serviceList
};