异常代码:
xAxis: {
type: 'category',
axisTick: {
show: false
},
axisLine: {
show: true,
lineStyle: {
color: 'rgba(255,255,255,0.2)',
}
},
axisLabel: {
textStyle: {
color: '#bac0c0',
fontSize: '10',
},
},
data: dataName,
},
yAxis: {
type: 'value',
axisTick: {
show: false
},
axisLine: {
show: true,
lineStyle: {
color: 'rgba(255,255,255,0.2)',
}
},
splitLine: {
show: true,
lineStyle: {
color: 'rgba(255,255,255,0.1)',
}
},
axisLabel: {
textStyle: {
color: '#bac0c0',
fontWeight: 'normal',
fontSize: '12',
},
formatter: '{value}',
},
},
正常代码:
xAxis: [
{
"type": "category",
data: dataName,
axisLine: {lineStyle: {color: "rgba(255,255,255,.1)"}},
inverse: true,
axisLabel: {
textStyle: {color: "rgba(255,255,255,.6)", fontSize: '12'}
}
}
],
yAxis: {
type: "value",
show: true,
axisLabel: {show: true},
axisLine: {lineStyle: {color: 'rgba(255,255,255,.4)'}},
splitLine: {show: true, lineStyle: {color: "rgba(255,255,255,0.2)"}}
},
LOCKDATAV DONE!