let XlineData= [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]
let YlineData= [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
option = {
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'cross',
label: {
backgroundColor: '#6a7985'
}
}
},
xAxis: {
name: 'x:月份',
type: 'category',
data: XlineData,
textStyle: {
color: '#8090A9',
fontsize: '11px'
},
axisLine: {
show: true,
onZero: true,
lineStyle: {
color: '#979797',
type: 'dotted'
},
label: {
show: true
}
},
axisTick: {
show: