axisLabel: { show: true, //重点在这⬇️⬇️⬇️ formatter: (value) => { console.log(value, "=======>") return (value == 0 ? `${value}` : `${value} %`) }, //⬆️⬆️⬆️ textStyle: { color: '#9EEAFF', fontSize: 24, fontFamily: 'AppleSystemUIFont', }, },
axisLabel: { show: true, //重点在这⬇️⬇️⬇️ formatter: (value) => { console.log(value, "=======>") return (value == 0 ? `${value}` : `${value} %`) }, //⬆️⬆️⬆️ textStyle: { color: '#9EEAFF', fontSize: 24, fontFamily: 'AppleSystemUIFont', }, },