x轴y轴的颜色、字体样式调整
yAxis/xAxis: [{
name: '单位',
axisLabel: {//字体颜色
interval:0,
rotate:40,
color:'#000000'
},
axisLine:{
lineStyle:{//坐标轴颜色
color:lineColor
}
},
splitLine:{//网格线
show:true,//是否显示
lineStyle: {//网格线颜色样式
type: 'solid',//网格线类型 dotted:虚线,solid:实线
color:'#B6B9BE' //#B6B9BE
}
},
nameTextStyle :{//x、y单位字体颜色
color:'#000000'
},
legend: {//图例标题
x:'center', // 图例的位置
itemHeight: 24,
itemWidth: 44,//图例标题图标大小
data: ['标题'],
textStyle: { //图例文字的样式
ontSize: 18,
fontWeight:'bold'
}
},
axisTick: {//刻度
show: false
},
}]