xAxis: [
{
type: 'category',
axisLabel: {
interval: 0,
rotate: 45,//倾斜角度设置,是什么时针未测
margin: 2 //距离上部的间距
},
data: dfbmData
.map(obj => ({value: obj.name})),
axisTick: {
alignWithLabel: true
}
}
],
xAxis: [
{
type: 'category',
axisLabel: {
interval: 0,
rotate: 45,//倾斜角度设置,是什么时针未测
margin: 2 //距离上部的间距
},
data: dfbmData
.map(obj => ({value: obj.name})),
axisTick: {
alignWithLabel: true
}
}
],