xAxis: [ { type: "category", data: _this.problemCity.citys, axisTick: { alignWithLabel: true }, axisLabel: { show: true, textStyle: { fontSize: '15', color: '#1f1f1f' } } } ],
网上查了直接写textStyle不顶用,nameTextStyle也不顶用,后面查了下还有这种方法 就好了主要加了
axisLabel: { show: true, textStyle: { fontSize: ’15’, color: ‘#1f1f1f’ } }
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/2218.html原文链接:https://javaforall.net