xAxis:{
show:true,//false
data:['1月','2月','3月'],
boundaryGap:false,// true | ['30%', '20%'],x轴两边是否留白,true留白,false不留白
axisLabel:{//x坐标轴刻度标签
show:true,
color:'red',//'#ccc',设置标签颜色
},
axisLine:{//x坐标轴轴线
show:true,
lineStyle:{//x坐标轴轴线样式
color:'red',//'#ccc' | 'rgb(128, 128, 128)' | 'rgba(128, 128, 128, 0.5)',设置标签颜色
}
}
}
ECharts x坐标轴(xAxis)系列设置
最新推荐文章于 2024-04-15 16:42:15 发布