版权声明:本文为蔡俊锋博主原创文章,未经蔡俊锋博主允许不得转载。 https://blog.csdn.net/caijunfen/article/details/88365470
boundaryGap: true, //xAxis中的boundaryGap属性,设置为false代表是零刻度开始,设置为true代表离零刻度间隔一段距离
xAxis: [
{
name: this.xunit,
type: "category",
offset: 4,
boundaryGap: true, //xAxis中的boundaryGap属性,设置为false代表是零刻度开始,设置为true代表离零刻度间隔一段距离
axisLine: {
lineStyle: {
color: "#57617B"
}
},
data: this.xdata
}
],