Echarts discount chart customizes the display when hovering over the mouse, but no vertical bar is displayed.

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

clipboard.png

clipboard.png

Sep.17,2021

clipboard.png

http://echarts.baidu.com/opti.


Hello, landlord ~

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;
            }
        },
< hr >

if it is helpful, please click to adopt it, thank you ~

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be3314-31676.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be3314-31676.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?