【Echarts】柱状图折线图改变XY轴刻度标签的现实结果
axisLabel: { show: true, //重点在这⬇️⬇️⬇️ formatter: (value) => { console.log(value, "=======>") return (value == 0 ? `${value}` : `${value} %`) }, //⬆️⬆️⬆️ textStyle: { color: '#9EEAFF', fontSize: 24, fontFamily: 'AppleSystemUIFont', }, },

浙公网安备 33010602011771号