${v.seriesName}.${v.name}
${v.value}
万元`;
})
return html
},
extraCssText: 'background: #fff; border-radius: 0;box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);color: #333;',
axisPointer: {
type: 'shadow',
shadowStyle: {
color: '#ffffff',
shadowColor: 'rgba(225,225,225,1)',
shadowBlur: 5
}
}
},
grid: {
top: 100,
containLabel: true
},
xAxis: [{
type: "category",
boundaryGap: false,
axisLabel: {
formatter: '{value}月',
textStyle: {
color: "#fdfdfe",
fontSize: 14,
}
},
axisLine: {
lineStyle: {
color: "#3495fc"
}
},
data: xAxisData
}],
yAxis: [{
type: "value",
name: '人',
axisLabel: {
textStyle: {
color: "#fdfdfe",
fontSize: 14,
}
},
nameTextStyle: {
color: "#666",
fontSize: 12,
lineHeight: 40
},
splitLine: {
lineStyle: {
type: "dashed",
color: "#E9E9E9"
}
},
axisLine: {
lineStyle: {
color: "#3495fc"
}
},
axisTick: {
show: false
}
}],
series: [{
name: "2018",
type: "line",
smooth: true,
// showSymbol: false,/
symbolSize: 8,
zlevel: 3,
lineStyle: {
normal: {
color: new echarts.graphic.LinearGradient(
0,
0,
1,
0,
[{
offset: 0,
color: 'rgba(12, 34, 112, 0)'
},
{
offset: 1,
color: '#06f3ff'
}
],
false
),
}
},
areaStyle: {
normal: {
color: new echarts.graphic.LinearGradient(
0,
0,
1,
0,
[{
offset: 0,
color: 'rgba(12, 34, 112, 0)'
},
{
offset: 1,
color: '#06f3ff'
}
],
false
),
shadowColor: hexToRgba(color[0], 0.1),
shadowBlur: 10
}
},
data: yAxisData1
}, ]
};