echarts discount chart customizes the display when you hover, but does not display vertical bars.
tooltip: {
//trigger: "axis"
formatter:function (params) {
let res=params.name+"<br/>";
let myseries = option.series;
for(let i=0;i<myseries.length;iPP){
res+=_this.getCircle(myseries[i].itemStyle.normal.color)+" "+myseries[i].name+":"+myseries[i].data[params.name]+"<br/>";
}
return res;
}
},
the result line disappears