Echarts柱状图如何加Y轴刻度,且刻度线条颜色和文字颜色互不影响
![在这里插入图片描述](https://img-blog.csdnimg.cn/d98b6be157be48658a1f2416a8aea548.png)
yAxis: {
type: 'value',
axisLabel: {
formatter: '{value} %',
textStyle: {
color: '#2c3e50', //文字颜色
},
},
type: 'value',
axisTick: {
show: true,
},
axisLine: {
lineStyle: {
color: '#e3e8f2', //一点点的那个线条的颜色
},
},
min: 0, // 最小值
max: 100, // 最大值
},