yAxis: {
min:0,
max:4,
axisLabel:{
formatter: function (value) {
var texts = [];
if (value <=60) {
texts.push('差');
}
else if (value<= 75) {
texts.push('一般');
}
else if(value<= 85){
texts.push('良好');
}
else{
texts.push('优秀');
}
return texts;
}
}
}
echarts自定义y轴刻度信息
最新推荐文章于 2023-09-24 10:39:54 发布