${params[0].name}
成交均价环比:${params[0].value}%
`
}
}
},
grid: {
left: '5%',
right: '5%',
bottom: '13%',
top: '15%',
containLabel: true
},
xAxis: {
data: [
"2019.07",
"2019.08",
"2019.09",
"2019.10",
"2019.11",
"2019.12",
],
boundaryGap: false,
axisLine: {
lineStyle: {
color: "rgba(0,160,233,0.25)", //X轴文字颜色
},
},
axisLabel: {
textStyle: {
color: "#ccc", //X轴文字颜色
fontSize: 14
}
},
axisTick: {
show: false //隐藏X轴刻度
},
},
// yAxis: _yAxis,
yAxis: [{
type: 'value',
name: '面积%',
axisTick: {
show: false
},
nameTextStyle: {
color: '#ccc',
fontSize: 13,
padding: [0, 30, 0, 0]
},
splitLine: {
show: false
},
axisLabel: {
color: '#ccc',
textStyle: {
color: '#ccc',
fontSize: 13
}
},
axisLine: {
lineStyle: {
color: 'rgba(0,160,233,0.25)', //X轴文字颜色
fontSize: 13
}
},
nameTextStyle: {
color: '#ccc',
fontSize: '90%'
},
min: -Math.ceil(max1),
max: Math.ceil(max1)
},
{
type: 'value',
name: '均价%',
axisTick: {
show: false
},
nameTextStyle: {
color: '#ccc',
fontSize: 13,
padding: [0, 30, 0, 0]
},
splitLine: {
show: false
},
axisLabel: {
color: '#ccc',
textStyle: {
color: '#ccc',
fontSize: 13
}
},
axisLine: {
lineStyle: {
color: 'rgba(0,160,233,0.25)', //X轴文字颜色
fontSize: 13
}
},
nameTextStyle: {
color: '#ccc',
fontSize: '90%'
},
min: -Math.ceil(max2),
max: Math.ceil(max2)
}
],
series: _series,
};