axisLabel: { show: true, //重点在这⬇️⬇️⬇️ formatter: (value) => { console.log(value, "=======>") return (value == 0 ? `${value}` : `${value} %`) }, //⬆️⬆️⬆️ textStyle: { color: '#9EEAFF', fontSize: 24, fontFamily: 'AppleSystemUIFont', }, },
标签:value,柱状图,XY,刻度,折线图,Echarts From: https://www.cnblogs.com/Esai-Z/p/17408261.html